3 ms·
This is neat, but pytest allows for similar granulation using the right fixtures: E.g. in test_authenticate_method.py: def test_returns_200_on_valid_passw
by BerislavLopac 6y ago
This is neat, but pytest allows for similar granulation using the right fixtures:
E.g. in test_authenticate_method.py:
def test_returns_200_on_valid_password(app, user_exists):
...
def test_returns_403_on_valid_password(app, user_exists):
...
def test_returns_403(app, user_not_exist):
...