From 37d4a702fda63b87c1482a59b2ef4c1bba2e3696 Mon Sep 17 00:00:00 2001 From: David Kerkeslager Date: Wed, 17 Jul 2019 18:09:46 -0400 Subject: [PATCH] Make it easier to run without memory leak tests --- README.md | 3 ++- integration_tests.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2b7ff47..d00a607 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,8 @@ furry animals, so Fur is named in their honor. ## Integration tests -To run the unit tests, run `python integration_tests.py`. +To run the unit tests, run `python integration_tests.py`. You can test just the output of the examples or just the memory usage of the tests by running +`python integration_tests.py OutputTests` or `python integration_tests.py MemoryLeakTests` respectively. # Running diff --git a/integration_tests.py b/integration_tests.py index a4d7c67..5faf695 100644 --- a/integration_tests.py +++ b/integration_tests.py @@ -61,7 +61,7 @@ def add_example_output_test(filename): setattr(OutputTests, 'test_' + filename, test) -class MemoryLeakTest(unittest.TestCase): +class MemoryLeakTests(unittest.TestCase): pass def add_example_memory_leak_test(filename): -- 2.20.1