test_imports.py 674 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. __author__ = "Christian Heider Nielsen"
  4. __doc__ = r"""
  5. Created on 01/08/2020
  6. """
  7. __all__ = []
  8. def test_import():
  9. import draugr
  10. print(draugr.__version__)
  11. def test_import_torch_utilities():
  12. import draugr.torch_utilities
  13. print(draugr.torch_utilities.__author__)
  14. def test_import_drawers():
  15. import draugr.drawers
  16. print(draugr.drawers.__author__)
  17. def test_import_opencv_utilities():
  18. import draugr.opencv_utilities
  19. print(draugr.opencv_utilities.__author__)
  20. def test_import_entry_points():
  21. import draugr.entry_points
  22. print(draugr.entry_points.__author__)