diff --git a/src/mkdocs_bibtex/plugin.py b/src/mkdocs_bibtex/plugin.py index c40a414..0425a53 100644 --- a/src/mkdocs_bibtex/plugin.py +++ b/src/mkdocs_bibtex/plugin.py @@ -3,7 +3,6 @@ import validators from collections import OrderedDict from pathlib import Path -from collections import OrderedDict from mkdocs.plugins import BasePlugin diff --git a/test_files/test_citation.py b/test_files/test_citation.py index 43ed15c..9fc9f03 100644 --- a/test_files/test_citation.py +++ b/test_files/test_citation.py @@ -3,7 +3,6 @@ pybtex basic citations and pandoc citation formattting """ -import pytest from mkdocs_bibtex.citation import Citation, CitationBlock diff --git a/test_files/test_simple_registry.py b/test_files/test_simple_registry.py index 2ab5dc2..1581271 100644 --- a/test_files/test_simple_registry.py +++ b/test_files/test_simple_registry.py @@ -89,7 +89,7 @@ def test_reference_text(simple_registry): citation = Citation("Bivort2016", "", "") assert ( simple_registry.reference_text(citation) - == "Benjamin L. De Bivort and Bruno Van Swinderen. Evidence for selective attention in the insect brain. *Current Opinion in Insect Science*, 15:1–7, 2016. [doi:10.1016/j.cois.2016.02.007](https://doi.org/10.1016/j.cois.2016.02.007)." + == "Benjamin L. De Bivort and Bruno Van Swinderen. Evidence for selective attention in the insect brain. *Current Opinion in Insect Science*, 15:1–7, 2016. [doi:10.1016/j.cois.2016.02.007](https://doi.org/10.1016/j.cois.2016.02.007)." # noqa: E501 ) # Test citation with URL