Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
James McKinney committed Nov 13, 2018
1 parent e4aa3da commit 95114be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ocdsextensionregistry/cli/commands/generate_pot_files.py
Expand Up @@ -12,7 +12,7 @@
from babel.messages.catalog import Catalog
from babel.messages.extract import extract, pathmatch
from babel.messages.pofile import write_po
from docutils.parsers.rst import Directive, directives
from docutils.parsers.rst import directives
from ocds_babel.extract import extract_codelist, extract_schema, extract_extension_metadata
from ocds_babel.directives import NullDirective
from recommonmark.parser import CommonMarkParser
Expand Down
1 change: 1 addition & 0 deletions tests/commands/test_generate_data_file.py
Expand Up @@ -24,6 +24,7 @@ def test_command_latest_version_master(monkeypatch, tmpdir):

assert json.loads(actual.getvalue())['location']['latest_version'] == 'master'


def test_command_latest_version_dated(monkeypatch, tmpdir):
with patch('sys.stdout', new_callable=StringIO) as actual:
monkeypatch.setattr(sys, 'argv', args + [str(tmpdir), 'location==v1.1.3', 'location==v1.1.1'])
Expand Down

0 comments on commit 95114be

Please sign in to comment.