예제 #1
0
def test_PhotonRegistry_get_package_info_error():  # too many args
    r = PhotonRegistry()
    assert (len(r.get_package_info('fred')) == 0)
예제 #2
0
def test_PhotonRegistry_get_package_info():  # too many args
    r = PhotonRegistry()
    assert (len(r.get_package_info()) == sum(PHOTON_pkgs_len))