Guest User

Untitled

a guest
Feb 21st, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. import pytest
  2.  
  3.  
  4. @pytest.mark.parametrize("A,B", [
  5. (1, 1),
  6. (1, 2),
  7. (2, 1),
  8. (2, 2),
  9. ])
  10. @pytest.mark.incremental
  11. class TestParams:
  12. def test_one(self, A, B):
  13. print "one", A, B
  14.  
  15. def test_two(self, A, B):
  16. print "two", A, B
  17.  
  18. .one 1 1
  19. .one 1 2
  20. .one 2 1
  21. .one 2 2
  22.  
  23. .two 1 1
  24. .two 1 2
  25. .two 2 1
  26. .two 2 2
  27.  
  28. .one 1 1
  29. .two 1 1
  30.  
  31. .one 1 2
  32. .two 1 2
  33.  
  34. .one 2 1
  35. .two 2 1
  36.  
  37. .one 2 2
  38. .two 2 2
Add Comment
Please, Sign In to add comment