diff --git a/deckhand/tests/common/test_gabbi.py b/deckhand/tests/common/test_gabbi.py index 0a0a99e5..849fa09b 100644 --- a/deckhand/tests/common/test_gabbi.py +++ b/deckhand/tests/common/test_gabbi.py @@ -41,9 +41,7 @@ def __create_temp_test_dir(): test_files = [] for root, dirs, files in os.walk(root_test_dir): - is_test_file = ( - 'gabbits' in root and not root.endswith('gabbits') - ) + is_test_file = 'gabbits' in root if is_test_file: test_files.extend([os.path.abspath(os.path.join(root, f)) for f in files])