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.

test_{{cookiecutter.project_slug}}.py 466B

123456789101112131415161718192021222324
  1. """
  2. Tests for `{{ cookiecutter.project_slug }}` module.
  3. """
  4. from __future__ import (
  5. absolute_import,
  6. division,
  7. print_function,
  8. unicode_literals,
  9. with_statement,
  10. )
  11. import logging
  12. import pytest
  13. from {{ cookiecutter.project_slug }} import {{ (cookiecutter.project_slug.title()).replace('_', '') }}
  14. class Test{{ (cookiecutter.project_slug.title()).replace('_', '') }}:
  15. def test_one(self):
  16. pass
  17. def test_two(self):
  18. pass