How to use the betelgeuse.collector.is_test_module function in Betelgeuse

To help you get started, we’ve selected a few Betelgeuse examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github SatelliteQE / betelgeuse / tests / test_collector.py View on Github external
def test_not_is_test_module(filename):
    """Check ``is_test_module`` working for invalid filenames."""
    assert not collector.is_test_module(filename)
github SatelliteQE / betelgeuse / tests / test_collector.py View on Github external
def test_is_test_module(filename):
    """Check ``is_test_module`` working for valid filenames."""
    assert collector.is_test_module(filename)