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.

15 lines
464 B

  1. # -*- coding: utf-8 -*-
  2. # This file is under GNU Affero General Public License 3.0
  3. # see LICENSE.txt
  4. """Unit test for pEp package, not for subpackages or modules."""
  5. def test_pep_version():
  6. """ Test that __version__ is not None or empty and is not 0.0.0."""
  7. from pEp import __version__
  8. # We could also test that match the regex, but that is already a test in
  9. # setuptools_scm itself.
  10. assert __version__
  11. assert __version__ != "0.0.0"