Don't write to the app directory in tests

pull/722/head
jeanluc 2 months ago
parent 0bd4a8e74e
commit 467315d2c5
No known key found for this signature in database
GPG Key ID: 3EB52D4C754CD898

@ -49,9 +49,6 @@ def measure_memory_usage(request):
s = f"Peak memory used by the test {request.node.fspath} - '{request.node.name}': {max_memory_used:.2f} MB"
logger.debug(s)
with open("test-memory.log", 'a') as f:
f.write(f"{s}\n")
# Assert that the memory usage is less than 200MB
# assert max_memory_used < 150, f"Memory usage exceeded 200MB: {max_memory_used:.2f} MB"

Loading…
Cancel
Save