示例#1
0
    def test_100_account_login(self):
        untangleEmail, untanglePassword = global_functions.get_live_account_info("Untangle")
        untangle2Email, untangle2Password = global_functions.get_live_account_info("Untangle2")
        if untangleEmail == "message":
            raise unittest.SkipTest('Skipping no accound found:' + str(untanglePassword))

        result = uvmContext.cloudManager().accountLogin( untangleEmail, untanglePassword )
        result2 = uvmContext.cloudManager().accountLogin( untangle2Email, untangle2Password )
        assert (result.get('success') or result2.get('success'))
示例#2
0
    def test_100_account_login(self):
        untangleEmail, untanglePassword = global_functions.get_live_account_info("Untangle")
        untangle2Email, untangle2Password = global_functions.get_live_account_info("Untangle2")
        if untangleEmail == "message":
            raise unittest.SkipTest('Skipping no accound found:' + str(untanglePassword))

        result = uvmContext.cloudManager().accountLogin( untangleEmail, untanglePassword )
        result2 = uvmContext.cloudManager().accountLogin( untangle2Email, untangle2Password )
        assert (result.get('success') or result2.get('success'))
示例#3
0
 def test_101_account_login_invalid(self):
     result = uvmContext.cloudManager().accountLogin( "*****@*****.**", "badpassword" )
     assert not result.get('success')
示例#4
0
 def test_101_account_login_invalid(self):
     result = uvmContext.cloudManager().accountLogin( "*****@*****.**", "badpassword" )
     assert not result.get('success')