Example #1
0
def test_get_owner_no_owner(database_connection):
    magic_castle = MagicCastle(database_connection,
                               "noowner.calculquebec.cloud")
    assert magic_castle.get_owner() == None
Example #2
0
def test_get_owner_valid(database_connection):
    magic_castle = MagicCastle(database_connection, "missingfloatingips.c3.ca")
    assert magic_castle.get_owner() == "*****@*****.**"