|
|
|
|
|
|
|
|
import logging |
|
|
import logging |
|
|
|
|
|
|
|
|
import pytest |
|
|
import pytest |
|
|
from {{cookiecutter.project_slug}} import ( # pylint: disable=invalid-name |
|
|
|
|
|
'' }}, |
|
|
|
|
|
'_', |
|
|
|
|
|
.replace, |
|
|
|
|
|
=, |
|
|
|
|
|
__name__, |
|
|
|
|
|
logger, |
|
|
|
|
|
logging.getLogger, |
|
|
|
|
|
{{ cookiecutter.project_slug.title, |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
FIXTURE_PATH = "{}/fixtures".format(os.path.dirname(os.path.abspath(__file__))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from {{ cookiecutter.project_slug }} import {{ (cookiecutter.project_slug.title()).replace('_', '') }} |
|
|
|
|
|
|
|
|
class Test{{ (cookiecutter.project_slug.title()).replace('_', '') }}: |
|
|
class Test{{ (cookiecutter.project_slug.title()).replace('_', '') }}: |
|
|
def test_one(self): |
|
|
def test_one(self): |