Skip to content
Snippets Groups Projects
Select Git revision
  • 2fc2125ed6db503e12d18c83f09b43078ba4032a
  • main default protected
  • add-pre-commit-improve-tox-setup
  • source-documentation-demo
  • fix-code-coverage-percentage-badge
  • ci-base-image
6 results

test_cool_module.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    test_cool_module.py 448 B
    #  Copyright (C) 2025 ASTRON (Netherlands Institute for Radio Astronomy)
    #  SPDX-License-Identifier: Apache-2.0
    
    """Testing of the Cool Module"""
    from unittest import TestCase
    
    from {{cookiecutter.project_slug}}.cool_module import greeter
    
    
    class TestCoolModule(TestCase):
        """Test Case of the Cool Module"""
    
        def test_greeter(self):
            """Testing that the greeter does not crash"""
            greeter()
            self.assertEqual(2 + 2, 4)