Skip to content

Commit

Permalink
Merge pull request #138 from radifar/fix-import-priority
Browse files Browse the repository at this point in the history
Fix import sorting in test file
  • Loading branch information
Lnaden committed Aug 10, 2021
2 parents 03a494b + 6c2d8c6 commit 918de2a
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@
"""

# Import package, test suite, and other packages as needed
import {{cookiecutter.repo_name}}
import pytest
import sys

import pytest

import {{cookiecutter.repo_name}}


def test_{{cookiecutter.repo_name}}_imported():
"""Sample test, will always pass so long as import statement worked."""
assert "{{cookiecutter.repo_name}}" in sys.modules

0 comments on commit 918de2a

Please sign in to comment.