Exemple #1
0
 def test_constructor(self, arg, value, expected, *, livecheck):
     kwargs = {"app": livecheck, "name": "n"}
     case = Case(**{arg: value}, **kwargs)
     assert getattr(case, arg) == expected
Exemple #2
0
 def test_constructor(self, arg, value, expected, *, livecheck):
     kwargs = {'app': livecheck, 'name': 'n'}
     case = Case(**{arg: value}, **kwargs)
     assert getattr(case, arg) == expected