diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2020-07-01 18:35:37 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2020-07-01 18:35:37 -0700 |
commit | ce37bdcd382c857383aad219de53d2432c07f1e7 (patch) | |
tree | 9dd1b9421f7650358acab4e9d39fb1e33d3bc31d /python/tests/import_pubmed.py | |
parent | 30905f1effb33c3ef193d084120aa3fbd75d0b9b (diff) | |
download | fatcat-ce37bdcd382c857383aad219de53d2432c07f1e7.tar.gz fatcat-ce37bdcd382c857383aad219de53d2432c07f1e7.zip |
lint (flake8) python test files
Diffstat (limited to 'python/tests/import_pubmed.py')
-rw-r--r-- | python/tests/import_pubmed.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/python/tests/import_pubmed.py b/python/tests/import_pubmed.py index f57aa273..201f533c 100644 --- a/python/tests/import_pubmed.py +++ b/python/tests/import_pubmed.py @@ -1,10 +1,10 @@ -import json, gzip import pytest -from fatcat_tools.importers import PubmedImporter, Bs4XmlLargeFilePusher -from fixtures import api from bs4 import BeautifulSoup +from fatcat_tools.importers import PubmedImporter, Bs4XmlLargeFilePusher +from fixtures import * + @pytest.fixture(scope="function") def pubmed_importer(api): @@ -137,4 +137,3 @@ def test_pubmed_xml_parse_refs(pubmed_importer): r1 = pubmed_importer.parse_record(soup.find_all("PubmedArticle")[0]) assert len(r1.refs) > 1 - |