Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pytest
- from banque import *
- @pytest.fixture
- def banque_test():
- return Banque()
- def test_ouverture_compte(banque_test):
- test = Banque.ouverture_compte(banque_test,'Johan', 50)
- print(test)
- assert test == 'Johan, 50'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement