Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_returns_empty_settings_when_no_settings_module_found(self):
discovered_settings, paths = discover.sub_modules()
assert discovered_settings is None
assert paths == ["tests.subs", "tests.more_subs.subs"]