Skip to content

Commit

Permalink
Fix the coverage
Browse files Browse the repository at this point in the history
Rename a test file in `section_executor_test_files/test.py`
to `test.py.txt`. Having a `py` extension makes pytest
import the module when it shouldn't. This PR fixes it.
  • Loading branch information
Naveenaidu committed Aug 22, 2019
1 parent adaad1b commit 9cebbf6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/coalaTest.py
Expand Up @@ -425,7 +425,7 @@ def test_nested_language_run_coala(self):
os.path.dirname(__file__),
'processes/section_executor_test_files'))

testcode_p_path = os.path.join(config_path, 'test.py')
testcode_p_path = os.path.join(config_path, 'test.py.txt')
uut_arg_list = [
'--no-config', '--handle-nested',
'--bears=PEP8TestBear,Jinja2TestBear',
Expand Down

0 comments on commit 9cebbf6

Please sign in to comment.