lastStatus object parsing from the server page
This commit is contained in:
parent
9d3de01395
commit
1e4fdd2e89
2 changed files with 26 additions and 11 deletions
|
@ -26,13 +26,13 @@ class TestLogin(unittest.TestCase):
|
|||
|
||||
def test_auth(self) -> None:
|
||||
|
||||
self.at = Client.from_hashed(self.user, self.pswd)
|
||||
self.at = Client.from_credentials(self.user, self.pswd)
|
||||
self.assertIsNotNone(self.at)
|
||||
|
||||
def test_servers(self) -> None:
|
||||
|
||||
if self.at is None:
|
||||
self.at = Client.from_hashed(
|
||||
self.at = Client.from_credentials(
|
||||
self.user, self.pswd
|
||||
)
|
||||
|
||||
|
@ -46,7 +46,7 @@ class TestLogin(unittest.TestCase):
|
|||
def test_logout(self) -> None:
|
||||
|
||||
if self.at is None:
|
||||
self.at = Client.from_hashed(
|
||||
self.at = Client.from_credentials(
|
||||
self.user, self.pswd
|
||||
)
|
||||
|
||||
|
|
Reference in a new issue