Page MenuHomeSoftware Heritage
Feed Advanced Search

Oct 16 2019

douardda committed rDSCHc2a020d471e1: tests: rewrite tests using pytest and the new rpc fixtures from swh.core (authored by douardda).
tests: rewrite tests using pytest and the new rpc fixtures from swh.core
Oct 16 2019, 5:55 PM
douardda committed rDSCHc2ccf460f552: updater/tests: rewrite updater's tests as pytest functions (authored by douardda).
updater/tests: rewrite updater's tests as pytest functions
Oct 16 2019, 5:55 PM
douardda committed rDSCH37b909e8d055: conftest: simplify the swh_scheduler() fixture (authored by douardda).
conftest: simplify the swh_scheduler() fixture
Oct 16 2019, 5:55 PM
douardda closed D2146: Update tests to pytest.
Oct 16 2019, 5:55 PM
douardda updated the diff for D2146: Update tests to pytest.

Add forgotten mypy.ini and requirements-test.txt files

Oct 16 2019, 1:22 PM
douardda added a comment to D2146: Update tests to pytest.

Build has FAILED

mypy is unhappy, don't know why though.

  flake8: commands succeeded
ERROR:   mypy: commands failed
Oct 16 2019, 1:18 PM
douardda created D2146: Update tests to pytest.
Oct 16 2019, 11:01 AM
douardda added a comment to D2025: [wip] swh.lister.functionalPackages: add lister getting sources from a JSON file.

Just one note: the name is IMHO inappropriate. This is NOT a JSON lister. JSON is nothing but the serialization format used to retrieve some (more or less) well defined structured data.

Oct 16 2019, 9:37 AM · Lister

Oct 14 2019

douardda added a comment to D2133: pytest_plugin: Add support for http request (debian lister related).

I have no strong opinion on this. olsad's idea might be an acceptable solution.

Oct 14 2019, 4:14 PM
douardda added inline comments to D2134: debian.lister: Add integration test which checks scheduled tasks.
Oct 14 2019, 4:11 PM
douardda requested changes to D2132: Enable iteration on the graph.
Oct 14 2019, 4:05 PM
douardda committed rDSTO3bb46f6438e5: test_storage: kill StorageTestDbFixture class (authored by douardda).
test_storage: kill StorageTestDbFixture class
Oct 14 2019, 3:11 PM
douardda committed rDSTOdbea02c5f1c5: test_api_client: refactor the code for new pytest based infra (authored by douardda).
test_api_client: refactor the code for new pytest based infra
Oct 14 2019, 3:11 PM
douardda closed D2091: test_storage: kill StorageTestDbFixture class.
Oct 14 2019, 3:11 PM
douardda closed D2119: test_api_client: refactor the code for new pytest based infra.
Oct 14 2019, 3:11 PM
douardda committed rDSTO8003db6106ba: api: add (missing) refresh_stat_counters() endpoint (authored by douardda).
api: add (missing) refresh_stat_counters() endpoint
Oct 14 2019, 3:11 PM
douardda closed D2118: api: add (missing) refresh_stat_counters() endpoint.
Oct 14 2019, 3:11 PM
douardda committed rDSTO8a9cfebb5ccf: tests/algos: rewrite test_snapshot with pytest (authored by douardda).
tests/algos: rewrite test_snapshot with pytest
Oct 14 2019, 3:11 PM
douardda committed rDSTOcadafefde5b8: in_memory: fix handling of 'hidden' content in InMemoryStorage and update tests (authored by douardda).
in_memory: fix handling of 'hidden' content in InMemoryStorage and update tests
Oct 14 2019, 3:11 PM
douardda closed D2117: tests/algos: rewrite test_snapshot with pytest.
Oct 14 2019, 3:11 PM
douardda closed D2095: test_in_memory: adapt tests for the InMemoryStorage to new storage test infra.
Oct 14 2019, 3:11 PM
douardda closed D2094: test_storage: rename TestStorageCommonProp as TestStorageGeneratedData.
Oct 14 2019, 3:11 PM
douardda committed rDSTO8529e7b86a69: test_storage: rename TestStorageCommonProp as TestStorageGeneratedData (authored by douardda).
test_storage: rename TestStorageCommonProp as TestStorageGeneratedData
Oct 14 2019, 3:11 PM
douardda closed D2093: test_storage: make test_origin_metadata_get more robust.
Oct 14 2019, 3:11 PM
douardda committed rDSTO743f9156a39e: test_storage: make test_origin_metadata_get more robust (authored by douardda).
test_storage: make test_origin_metadata_get more robust
Oct 14 2019, 3:11 PM
douardda committed rDSTO204b9fa27009: test_storage: move db specific methods from main TestStorage to TestPgStorage (authored by douardda).
test_storage: move db specific methods from main TestStorage to TestPgStorage
Oct 14 2019, 3:11 PM
douardda closed D2092: test_storage: move db specific methods from main TestStorage to TestPgStorage.
Oct 14 2019, 3:11 PM
douardda committed rDSTO9f122027e8cd: conftest: use an in memory obj storage (authored by douardda).
conftest: use an in memory obj storage
Oct 14 2019, 3:11 PM
douardda committed rDSTOfb70f881cb37: tests: refactor main storage tests (authored by douardda).
tests: refactor main storage tests
Oct 14 2019, 3:11 PM
douardda closed D2090: tests: refactor main storage tests.
Oct 14 2019, 3:11 PM
douardda updated the diff for D2091: test_storage: kill StorageTestDbFixture class.

rebased

Oct 14 2019, 3:05 PM
douardda updated the diff for D2119: test_api_client: refactor the code for new pytest based infra.

rebased

Oct 14 2019, 2:51 PM
douardda updated the diff for D2118: api: add (missing) refresh_stat_counters() endpoint.

rebased

Oct 14 2019, 2:48 PM
douardda updated the diff for D2117: tests/algos: rewrite test_snapshot with pytest.

rebased

Oct 14 2019, 2:46 PM
douardda updated the diff for D2095: test_in_memory: adapt tests for the InMemoryStorage to new storage test infra.

rebased + merge with D2096

Oct 14 2019, 2:36 PM
douardda abandoned D2096: in_memory: fix handling of 'hidden' content in InMemoryStorage.

merged in D2095

Oct 14 2019, 2:34 PM
douardda updated the diff for D2094: test_storage: rename TestStorageCommonProp as TestStorageGeneratedData.

rebased

Oct 14 2019, 2:26 PM
douardda updated the diff for D2093: test_storage: make test_origin_metadata_get more robust.

rebased

Oct 14 2019, 2:24 PM
douardda updated the diff for D2092: test_storage: move db specific methods from main TestStorage to TestPgStorage.

rebased

Oct 14 2019, 2:23 PM
douardda updated the diff for D2090: tests: refactor main storage tests.

smalle rework related to skipping a few tests due to origin id handling

Oct 14 2019, 2:23 PM
douardda updated the diff for D2091: test_storage: kill StorageTestDbFixture class.

rebased

Oct 14 2019, 1:14 PM
douardda updated the diff for D2119: test_api_client: refactor the code for new pytest based infra.

rebased

Oct 14 2019, 1:13 PM
douardda updated the diff for D2118: api: add (missing) refresh_stat_counters() endpoint.

rebsed

Oct 14 2019, 1:13 PM
douardda updated the diff for D2117: tests/algos: rewrite test_snapshot with pytest.

rebased

Oct 14 2019, 1:13 PM
douardda updated the diff for D2096: in_memory: fix handling of 'hidden' content in InMemoryStorage.

rebased

Oct 14 2019, 1:12 PM
douardda updated the diff for D2095: test_in_memory: adapt tests for the InMemoryStorage to new storage test infra.

rebased

Oct 14 2019, 1:12 PM
douardda updated the diff for D2094: test_storage: rename TestStorageCommonProp as TestStorageGeneratedData.

rebased

Oct 14 2019, 1:12 PM
douardda updated the diff for D2093: test_storage: make test_origin_metadata_get more robust.

rebased

Oct 14 2019, 1:11 PM
douardda updated the diff for D2092: test_storage: move db specific methods from main TestStorage to TestPgStorage.

rebased

Oct 14 2019, 1:10 PM
douardda updated the summary of D2119: test_api_client: refactor the code for new pytest based infra.
Oct 14 2019, 1:09 PM
douardda updated the summary of D2118: api: add (missing) refresh_stat_counters() endpoint.
Oct 14 2019, 1:09 PM
douardda updated the summary of D2117: tests/algos: rewrite test_snapshot with pytest.
Oct 14 2019, 1:09 PM
douardda updated the summary of D2096: in_memory: fix handling of 'hidden' content in InMemoryStorage.
Oct 14 2019, 1:09 PM
douardda updated the summary of D2095: test_in_memory: adapt tests for the InMemoryStorage to new storage test infra.
Oct 14 2019, 1:09 PM
douardda updated the summary of D2094: test_storage: rename TestStorageCommonProp as TestStorageGeneratedData.
Oct 14 2019, 1:08 PM
douardda updated the summary of D2093: test_storage: make test_origin_metadata_get more robust.
Oct 14 2019, 1:08 PM
douardda updated the summary of D2090: tests: refactor main storage tests.
Oct 14 2019, 1:04 PM
douardda created P547 (An Untitled Masterwork).
Oct 14 2019, 12:28 PM
douardda updated the summary of D2092: test_storage: move db specific methods from main TestStorage to TestPgStorage.
Oct 14 2019, 12:27 PM
douardda updated the summary of D2091: test_storage: kill StorageTestDbFixture class.
Oct 14 2019, 12:24 PM
douardda updated the diff for D2090: tests: refactor main storage tests.

revert usage for self._test_origin_ids and use_url to fix py3-no-origin-ids

Oct 14 2019, 12:11 PM
douardda added inline comments to D2119: test_api_client: refactor the code for new pytest based infra.
Oct 14 2019, 10:57 AM
douardda updated the diff for D2091: test_storage: kill StorageTestDbFixture class.

rebase

Oct 14 2019, 10:56 AM
douardda updated the diff for D2119: test_api_client: refactor the code for new pytest based infra.

rebase

Oct 14 2019, 10:55 AM
douardda updated the diff for D2118: api: add (missing) refresh_stat_counters() endpoint.

rebase

Oct 14 2019, 10:55 AM
douardda updated the diff for D2117: tests/algos: rewrite test_snapshot with pytest.

rebae + kill print statement

Oct 14 2019, 10:55 AM
douardda updated the diff for D2096: in_memory: fix handling of 'hidden' content in InMemoryStorage.

rebase

Oct 14 2019, 10:54 AM
douardda updated the diff for D2095: test_in_memory: adapt tests for the InMemoryStorage to new storage test infra.

rebase

Oct 14 2019, 10:54 AM
douardda updated the diff for D2094: test_storage: rename TestStorageCommonProp as TestStorageGeneratedData.

rebas

Oct 14 2019, 10:54 AM
douardda updated the diff for D2093: test_storage: make test_origin_metadata_get more robust.

rebase

Oct 14 2019, 10:53 AM
douardda updated the diff for D2090: tests: refactor main storage tests.

fix definition and usage of swh_contents and swh_origins fixtures

Oct 14 2019, 10:53 AM

Oct 11 2019

douardda added inline comments to D2090: tests: refactor main storage tests.
Oct 11 2019, 5:59 PM
douardda added inline comments to D2090: tests: refactor main storage tests.
Oct 11 2019, 5:57 PM
douardda added inline comments to D2119: test_api_client: refactor the code for new pytest based infra.
Oct 11 2019, 5:31 PM
douardda added inline comments to D2090: tests: refactor main storage tests.
Oct 11 2019, 5:26 PM
douardda updated the diff for D2090: tests: refactor main storage tests.

add some comment in conftest to explain a bit the postgres stuff

Oct 11 2019, 5:23 PM
douardda updated the diff for D2090: tests: refactor main storage tests.

Reactivate [testenv:py3-no-origin-ids] in tox

Oct 11 2019, 5:06 PM
douardda added inline comments to D2090: tests: refactor main storage tests.
Oct 11 2019, 4:54 PM
douardda updated the diff for D2090: tests: refactor main storage tests.

use memory cls for the journal_writer instead of deprecated inmemory

Oct 11 2019, 4:42 PM
douardda updated the diff for D2090: tests: refactor main storage tests.

also fix test_db to not depends on running tests via pifpaf

Oct 11 2019, 4:19 PM
douardda updated the diff for D2091: test_storage: kill StorageTestDbFixture class.

moved at the top of the stack

Oct 11 2019, 4:11 PM
douardda updated the diff for D2119: test_api_client: refactor the code for new pytest based infra.

rebased

Oct 11 2019, 4:10 PM
douardda updated the diff for D2118: api: add (missing) refresh_stat_counters() endpoint.

rebased

Oct 11 2019, 4:10 PM
douardda updated the diff for D2117: tests/algos: rewrite test_snapshot with pytest.

rebased

Oct 11 2019, 4:10 PM
douardda updated the diff for D2096: in_memory: fix handling of 'hidden' content in InMemoryStorage.

rebased

Oct 11 2019, 4:09 PM
douardda updated the diff for D2095: test_in_memory: adapt tests for the InMemoryStorage to new storage test infra.

rebased

Oct 11 2019, 4:09 PM
douardda updated the diff for D2094: test_storage: rename TestStorageCommonProp as TestStorageGeneratedData.

rebased

Oct 11 2019, 4:09 PM
douardda updated the diff for D2093: test_storage: make test_origin_metadata_get more robust.

rebased

Oct 11 2019, 4:08 PM
douardda updated the diff for D2092: test_storage: move db specific methods from main TestStorage to TestPgStorage.

rebased

Oct 11 2019, 4:08 PM
douardda updated the diff for D2090: tests: refactor main storage tests.

xfail does not mean xerror...

Oct 11 2019, 4:07 PM
douardda updated the diff for D2090: tests: refactor main storage tests.

also xfail test_snapshot (until it has been ported to pytest/pytest_postgresql)

Oct 11 2019, 3:56 PM
douardda updated the diff for D2090: tests: refactor main storage tests.

rebase + fix tests in tox (update mypy.ini and requirements-test.txt)

Oct 11 2019, 3:44 PM
douardda updated the diff for D2090: tests: refactor main storage tests.

mark test_in_memory and test_api_client as xfail

Oct 11 2019, 3:16 PM
douardda committed rDCORE2acfa748c0e2: api/tests: add pytest plumbing for testing rpc client/server stack as a whole (authored by douardda).
api/tests: add pytest plumbing for testing rpc client/server stack as a whole
Oct 11 2019, 2:25 PM
douardda closed D2116: api/tests: add a few test for the whole rpc client/server stack.
Oct 11 2019, 2:25 PM
douardda updated the diff for D2116: api/tests: add a few test for the whole rpc client/server stack.

[really] add comments/docs and move the impl. of the rpc_client fixture in the plugin

Oct 11 2019, 2:22 PM
douardda updated the diff for D2116: api/tests: add a few test for the whole rpc client/server stack.

add comments/docs and move the impl. of the rpc_client fixture in the plugin

Oct 11 2019, 2:12 PM
douardda updated the diff for D2116: api/tests: add a few test for the whole rpc client/server stack.

rebase and rephrase the ci message

Oct 11 2019, 1:37 PM
douardda committed rDCORE18e4be541fea: api: fix swh.core.api.decode_request on python 3.5 (authored by douardda).
api: fix swh.core.api.decode_request on python 3.5
Oct 11 2019, 1:32 PM
douardda closed D2126: api: fix swh.core.api.decode_request on python 3.5.
Oct 11 2019, 1:32 PM