def test_unlisted_validations_with_unlisted_addons():
    unlisted = unlisted_validations(TEST_ADDONS, set(["baz", "wat"]))
    assert list(unlisted) == [TEST_ADDON_LISTED_FALSE, TEST_ADDON_UNLISTED_ID]
Example #2
0
def test_unlisted_validations_with_unlisted_addons():
    unlisted = unlisted_validations(TEST_ADDONS, set(['baz', 'wat']))
    assert list(unlisted) == [TEST_ADDON_LISTED_FALSE, TEST_ADDON_UNLISTED_ID]
def test_unlisted_validations_without_unlisted_addons():
    unlisted = unlisted_validations(TEST_ADDONS, set())
    assert list(unlisted) == [TEST_ADDON_LISTED_FALSE]
Example #4
0
def test_unlisted_validations_without_unlisted_addons():
    unlisted = unlisted_validations(TEST_ADDONS, set())
    assert list(unlisted) == [TEST_ADDON_LISTED_FALSE]