From b00359ceccfc32af13cedc8d178533a77cc85c14 Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Thu, 16 Apr 2020 14:25:29 +0100 Subject: [PATCH] Fixed test extension file names --- tests/extensions/{test_extension.py => extension.py} | 0 .../{test_extension_exception.py => extension_exception.py} | 0 ...xtension_explicit_list.py => extension_explicit_list.py} | 0 tests/test_server_extensions.py | 6 +++--- 4 files changed, 3 insertions(+), 3 deletions(-) rename tests/extensions/{test_extension.py => extension.py} (100%) rename tests/extensions/{test_extension_exception.py => extension_exception.py} (100%) rename tests/extensions/{test_extension_explicit_list.py => extension_explicit_list.py} (100%) diff --git a/tests/extensions/test_extension.py b/tests/extensions/extension.py similarity index 100% rename from tests/extensions/test_extension.py rename to tests/extensions/extension.py diff --git a/tests/extensions/test_extension_exception.py b/tests/extensions/extension_exception.py similarity index 100% rename from tests/extensions/test_extension_exception.py rename to tests/extensions/extension_exception.py diff --git a/tests/extensions/test_extension_explicit_list.py b/tests/extensions/extension_explicit_list.py similarity index 100% rename from tests/extensions/test_extension_explicit_list.py rename to tests/extensions/extension_explicit_list.py diff --git a/tests/test_server_extensions.py b/tests/test_server_extensions.py index 837ff2d3..8014f838 100644 --- a/tests/test_server_extensions.py +++ b/tests/test_server_extensions.py @@ -141,7 +141,7 @@ def test_find_instances_in_module(lt_extension): def test_find_extensions_in_file(extensions_path): - test_file = os.path.join(extensions_path, "test_extension.py") + test_file = os.path.join(extensions_path, "extension.py") found_extensions = extensions.find_extensions_in_file(test_file) assert len(found_extensions) == 1 @@ -149,7 +149,7 @@ def test_find_extensions_in_file(extensions_path): def test_find_extensions_in_file_explicit_list(extensions_path): - test_file = os.path.join(extensions_path, "test_extension_explicit_list.py") + test_file = os.path.join(extensions_path, "extension_explicit_list.py") found_extensions = extensions.find_extensions_in_file(test_file) assert len(found_extensions) == 1 @@ -157,7 +157,7 @@ def test_find_extensions_in_file_explicit_list(extensions_path): def test_find_extensions_in_file_exception(extensions_path): - test_file = os.path.join(extensions_path, "test_extension_exception.py") + test_file = os.path.join(extensions_path, "extension_exception.py") found_extensions = extensions.find_extensions_in_file(test_file) assert found_extensions == []