syncing with upstream

This commit is contained in:
Senad Uka
2018-01-15 13:31:00 +01:00
parent bc646b86c2
commit fe35b0aa91
24 changed files with 325 additions and 149 deletions

View File

@@ -105,3 +105,7 @@ def assert_image_equal(image_1, image_2, error=5e-2):
average_error = total_error / pixels
assert average_error <= error, "Images are not equal to within %f error (got %f)" % (error, average_error)
# used for mocking response of feature flags
def feature_is_always_active(feature_name):
return True