def test_find_packages(): packages = obal.find_packages(os.path.join(FIXTURE_DIR, 'inventory.yaml')) assert packages assert 'testpackage' in packages
def test_find_no_packages(): packages = obal.find_packages(os.path.join(FIXTURE_DIR, 'nope.yaml')) assert packages is None