- Nov 23, 2018
-
-
David Douard authored
related to T1330
-
- Nov 08, 2018
-
- Nov 06, 2018
-
-
Nicolas Dandrimont authored
-
- Nov 05, 2018
-
-
vlorentz authored
Summary: PendingDeprecationWarning: encoding is deprecated, Use raw=False instead. Reviewers: #reviewers, zack Reviewed By: #reviewers, zack Subscribers: zack, olasd, swh-public-ci Differential Revision: https://forge.softwareheritage.org/D628
-
- Oct 25, 2018
-
-
vlorentz authored
Summary: DbTestFixture.setupClass reads `cls._DB_DUMP_LIST`, which is set by `cls.add_db`, so `cls.add_db` should be called by the child's `setupClass` beforehand Reviewers: #reviewers, ardumont Reviewed By: #reviewers, ardumont Subscribers: ardumont, swh-public-ci Differential Revision: https://forge.softwareheritage.org/D603
-
- Oct 24, 2018
-
-
David Douard authored
-
- Oct 23, 2018
-
-
Nicolas Dandrimont authored
-
Stefano Zacchiroli authored
... and make flake8 happy that way
-
- Oct 18, 2018
-
-
Nicolas Dandrimont authored
The repr format of datetime.timedeltas has changed in Python 3.7, and the construct is very unsafe anyway.
-
David Douard authored
silent deprecation warnings.
-
David Douard authored
-
David Douard authored
-
David Douard authored
- Oct 16, 2018
-
-
David Douard authored
makes swh-vault's tests a bit easier to write.
-
David Douard authored
related to T1265.
-
David Douard authored
used to initialise a database for a given (swh) module, like: swh-db-init storage
-
David Douard authored
based on sql files shipped within the python package. This require several small refactorings of SingleDbTestFixture.setUpClass and .add_db() methods: - replace the 2 arguments (dump, dump_type) by a single 'dumps' one; this later must be an iterable of couples (dump_file, dump_type) - refactor all needed helper functions accordingly. We also add a small helper function to sort numerical file names, and provide a DB_DUMP_TYPES as a global variable to prepare the next commit in which a new cli tool 'swh-db-init' is added. Related to T1265.
-
- Oct 12, 2018
-
-
David Douard authored
-
David Douard authored
it's at best useless.
-
- Oct 11, 2018
-
-
Antoine R. Dumont authored
Related D507
-
Nicolas Dandrimont authored
Summary: This helps potentially change the test runner to something other than nose (T1261). Test Plan: make test before and after the change both run 26 tests Reviewers: #reviewers! Differential Revision: https://forge.softwareheritage.org/D516
-
vlorentz authored
-
vlorentz authored
Summary: This moves the interesting parts of D505 into the core, so other components can use them as well. Test Plan: `make test` Reviewers: ardumont, seirl, #reviewers Reviewed By: ardumont, #reviewers Subscribers: douardda Differential Revision: https://forge.softwareheritage.org/D507
-
- Oct 05, 2018
-
-
David Douard authored
-
David Douard authored
- add classifiers informations, - add the content of the README file as long_description, - add configure_urls. related to T1242
-
David Douard authored
note that unit tests are executed via pifpaf, so a running postgres server is not required (nor used) when unit tests are spawn with tox. Also add .tox in gitignore.
-
Antoine Pietri authored
-
- Oct 03, 2018
-
-
David Douard authored
-
- Oct 01, 2018
-
-
Stefano Zacchiroli authored
-
- May 28, 2018
-
-
Antoine R. Dumont authored
-
- May 25, 2018
-
-
Nicolas Dandrimont authored
-
- May 24, 2018
-
-
Antoine R. Dumont authored
Related T1061
-
- Apr 26, 2018
-
-
Nicolas Dandrimont authored
Summary: when ON_ERROR_STOP is not set, dumps can restore even if there's a syntax error. That's not really a sensible thing to do. Also add --no-psqlrc because my psqlrc has stuff in it that makes psql noisy in batch mode (\timing). Test Plan: Run the swh-vault tests, which are the only ones to use this fixture in this mode Reviewers: #reviewers! Differential Revision: https://forge.softwareheritage.org/D307
- Apr 25, 2018
-
-
Antoine R. Dumont authored
Related T1036
-
Antoine R. Dumont authored
Related T1036
-
- Apr 15, 2018
-
-
Nicolas Dandrimont authored
-
- Jan 14, 2018
-
-
Stefano Zacchiroli authored
-
- Dec 06, 2017
-