Advertisement
Guest User

test banque

a guest
Nov 13th, 2019
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. import pytest
  2. from banque import *
  3.  
  4. @pytest.fixture
  5. def banque_test():
  6. return Banque()
  7.  
  8. def test_ouverture_compte(banque_test):
  9. test = Banque.ouverture_compte(banque_test,'Johan', 50)
  10. print(test)
  11. assert test == 'Johan, 50'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement