Skip to content

Commit

Permalink
Fixes build (#1731)
Browse files Browse the repository at this point in the history
I'm sorry. I only learned to test in production.
  • Loading branch information
camilonova committed Jun 11, 2022
1 parent 7b2e0d7 commit fb22512
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/management/commands/test_notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def test_without_args(capsys, settings):
call_command('notes')

out, err = capsys.readouterr()
assert 'tests/testapp/__init__.py:\n * [ 8] TODO this is a test todo\n\n' in out
assert 'tests/testapp/file_without_utf8_notes.py:\n * [ 3] TODO this is a test todo\n\n' in out


def test_with_utf8(capsys, settings):
Expand Down
2 changes: 0 additions & 2 deletions tests/testapp/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
# -*- coding: utf-8 -*-
default_app_config = 'tests.testapp.apps.TestAppConfig'

# TODO: this is a test todo
3 changes: 3 additions & 0 deletions tests/testapp/file_without_utf8_notes.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-

# TODO: this is a test todo
2 changes: 2 additions & 0 deletions tests/testapp_with_appconfig/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# -*- coding: utf-8 -*-
default_app_config = 'tests.testapp.apps.TestappWithAppConfigConfig'

0 comments on commit fb22512

Please sign in to comment.