diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-11-15 13:11:52 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-11-15 13:15:15 -0800 |
commit | bb28a3fc1cc900f2dde31e1dbc492d9661034f41 (patch) | |
tree | f037dd3d1bab6cbf08a562dbdd4c09361fe0c030 /python/tests/import_matched.py | |
parent | 9f817c6c70a749f2ac449ab4edfd26c6dd8a7410 (diff) | |
download | fatcat-bb28a3fc1cc900f2dde31e1dbc492d9661034f41.tar.gz fatcat-bb28a3fc1cc900f2dde31e1dbc492d9661034f41.zip |
large refactor of python names/paths
- Add __init__.py files for fatcat_tools submodules, and use them in
imports
- Add a bunch of comments to files.
- rename a number of classes and functions to be less verbose
Diffstat (limited to 'python/tests/import_matched.py')
-rw-r--r-- | python/tests/import_matched.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/tests/import_matched.py b/python/tests/import_matched.py index 8004e3bd..85e21267 100644 --- a/python/tests/import_matched.py +++ b/python/tests/import_matched.py @@ -1,12 +1,12 @@ import json import pytest -from fatcat_tools.importers.matched import FatcatMatchedImporter +from fatcat_tools.importers import MatchedImporter @pytest.fixture(scope="function") def matched_importer(): - yield FatcatMatchedImporter("http://localhost:9411/v0") + yield MatchedImporter("http://localhost:9411/v0") # TODO: use API to check that entities actually created... def test_matched_importer_batch(matched_importer): |