From 39f3ee110df4964ba8b10c22938fcf54785ade39 Mon Sep 17 00:00:00 2001 From: flan Date: Mon, 30 Oct 2017 19:28:29 +0100 Subject: [PATCH] Make test file names follow a single convention Makes it possible to run all tests by executing `python -m unittest discover ./tests`. --- tests/{CollectionTestBase.py => collection_test_base.py} | 0 tests/test_sync_app.py | 2 +- tests/{sync_app_functional_media_test.py => test_web_media.py} | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename tests/{CollectionTestBase.py => collection_test_base.py} (100%) rename tests/{sync_app_functional_media_test.py => test_web_media.py} (100%) diff --git a/tests/CollectionTestBase.py b/tests/collection_test_base.py similarity index 100% rename from tests/CollectionTestBase.py rename to tests/collection_test_base.py diff --git a/tests/test_sync_app.py b/tests/test_sync_app.py index d7f29db..a5fac64 100644 --- a/tests/test_sync_app.py +++ b/tests/test_sync_app.py @@ -15,7 +15,7 @@ from ankisyncd.sync_app import SimpleSessionManager from ankisyncd.sync_app import SqliteSessionManager from ankisyncd.sync_app import SyncApp -from CollectionTestBase import CollectionTestBase +from collection_test_base import CollectionTestBase class SyncCollectionHandlerTest(CollectionTestBase): diff --git a/tests/sync_app_functional_media_test.py b/tests/test_web_media.py similarity index 100% rename from tests/sync_app_functional_media_test.py rename to tests/test_web_media.py