Generate a Python package project using the Python Cookiecutter package
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
640B

  1. # -*- coding: utf-8 -*-
  2. """
  3. Tests for `{{ cookiecutter.project_slug }}` module.
  4. """
  5. from __future__ import (
  6. absolute_import,
  7. division,
  8. print_function,
  9. with_statement,
  10. unicode_literals
  11. )
  12. import logging
  13. import pytest
  14. from {{ cookiecutter.project_slug }} import {{ (cookiecutter.project_slug.title()).replace('_', '') }}
  15. logger = logging.getLogger(__name__) # pylint: disable=invalid-name
  16. FIXTURE_PATH = "{}/fixtures".format(os.path.dirname(os.path.abspath(__file__)))
  17. class Test{{ (cookiecutter.project_slug.title()).replace('_', '') }}:
  18. def test_one(self):
  19. pass
  20. def test_two(self):
  21. pass