Sheogorath
5 years ago
No known key found for this signature in database
GPG Key ID: 1F05CC3635CDDFFD
1 changed files with
1 additions and
1 deletions
-
test/test_server.py
|
@ -9,7 +9,7 @@ import pytest |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def test_ping(server): |
|
|
def test_ping(server): |
|
|
assert server.ping(server, "some message") == "PONG" |
|
|
|
|
|
|
|
|
assert server.ping(server, "tolsun.oulu.fi") == "PONG" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@pytest.mark.parametrize("test_input,expected", [("password", True), ("wrong password", False)]) |
|
|
@pytest.mark.parametrize("test_input,expected", [("password", True), ("wrong password", False)]) |
|
|