Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pytest
- from application import Application
- @pytest.fixture
- def app(request):
- fixture = Application()
- request.addfinalizer(fixture.destroy)
- return fixture
- def test_positive_email(app):
- app.login_email(username="osyanin@gmail.com", password="pass")
- app.logout()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement