Skip to content

Commit dbdd077

Browse files
committed
remove redundant tests
1 parent f5b37a5 commit dbdd077

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

lib/pbench/test/unit/server/test_user_auth.py

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -27,37 +27,6 @@ def login_user(client, username, password):
2727
)
2828

2929

30-
class TestRegistration:
31-
@staticmethod
32-
def test_user_registration(client):
33-
response = register_user(
34-
client,
35-
username="user",
36-
firstname="firstname",
37-
lastname="lastName",
38-
email="user@domain.com",
39-
password="12345",
40-
)
41-
data = json.loads(response.data.decode())
42-
assert data["status"] == "success"
43-
44-
@staticmethod
45-
def test_user_login(client):
46-
response = register_user(
47-
client,
48-
username="user",
49-
firstname="firstname",
50-
lastname="lastName",
51-
email="user@domain.com",
52-
password="12345",
53-
)
54-
data = json.loads(response.data.decode())
55-
assert data["status"] == "success"
56-
response = login_user(client, "user", "12345")
57-
data = json.loads(response.data.decode())
58-
assert data["status"] == "success"
59-
60-
6130
class TestUserAuthentication:
6231
@staticmethod
6332
def test_registration(client):

0 commit comments

Comments
 (0)