예제 #1
0
 def test_large_float_payment(self):
     config = get_config()
     config['base_payment'] = 1.2342
     assert verify_package() is False
예제 #2
0
 def test_negative_payment(self):
     config = get_config()
     config['base_payment'] = -1.99
     assert verify_package() is False
예제 #3
0
 def test_verify_all_demos(self, iter_demos):
     for demo in iter_demos:
         if not verify_package(verbose=False):
             pytest.fail("{} did not verify!".format(demo))