Generate a Python package project using the Python Cookiecutter package
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

30 rindas
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