From b846be75b0cc7f8081dae9d5de21fdcc1c93eb17 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Thu, 20 Feb 2020 21:51:06 -0800 Subject: [PATCH] Stop pretending that there are tests. --- tests/common.py | 12 ------------ tests/run_tests.py | 11 ----------- tests/test_albums.py | 17 ----------------- tests/test_bookmarks.py | 5 ----- tests/test_photos.py | 5 ----- tests/test_search.py | 5 ----- tests/test_tags.py | 5 ----- tests/test_users.py | 5 ----- 8 files changed, 65 deletions(-) delete mode 100644 tests/common.py delete mode 100644 tests/run_tests.py delete mode 100644 tests/test_albums.py delete mode 100644 tests/test_bookmarks.py delete mode 100644 tests/test_photos.py delete mode 100644 tests/test_search.py delete mode 100644 tests/test_tags.py delete mode 100644 tests/test_users.py diff --git a/tests/common.py b/tests/common.py deleted file mode 100644 index e250bb1..0000000 --- a/tests/common.py +++ /dev/null @@ -1,12 +0,0 @@ -import unittest - -import etiquette - - -class EtiquetteTest(unittest.TestCase): - def setUp(self): - self.P = etiquette.photodb.PhotoDB(ephemeral=True) - - def tearDown(self): - self.P.close() - del self.P diff --git a/tests/run_tests.py b/tests/run_tests.py deleted file mode 100644 index 0534c72..0000000 --- a/tests/run_tests.py +++ /dev/null @@ -1,11 +0,0 @@ -import unittest - -import common -import test_albums -import test_bookmarks -import test_photos -import test_search -import test_tags -import test_users - -unittest.main() diff --git a/tests/test_albums.py b/tests/test_albums.py deleted file mode 100644 index 0f02566..0000000 --- a/tests/test_albums.py +++ /dev/null @@ -1,17 +0,0 @@ -import common - - -class AlbumTest(common.EtiquetteTest): - def setUp(self): - super().setUp() - - -class AlbumSumsTest(AlbumTest): - def test_sum_photos(self): - pass - - def test_sum_bytes_local(self): - pass - - def test_sum_bytes_recursive(self): - pass diff --git a/tests/test_bookmarks.py b/tests/test_bookmarks.py deleted file mode 100644 index 1345182..0000000 --- a/tests/test_bookmarks.py +++ /dev/null @@ -1,5 +0,0 @@ -import common - - -class BookmarkTest(common.EtiquetteTest): - pass diff --git a/tests/test_photos.py b/tests/test_photos.py deleted file mode 100644 index bfafb0d..0000000 --- a/tests/test_photos.py +++ /dev/null @@ -1,5 +0,0 @@ -import common - - -class PhotoTest(common.EtiquetteTest): - pass diff --git a/tests/test_search.py b/tests/test_search.py deleted file mode 100644 index 097e2bf..0000000 --- a/tests/test_search.py +++ /dev/null @@ -1,5 +0,0 @@ -import common - - -class SearchTest(common.EtiquetteTest): - pass diff --git a/tests/test_tags.py b/tests/test_tags.py deleted file mode 100644 index 3a64290..0000000 --- a/tests/test_tags.py +++ /dev/null @@ -1,5 +0,0 @@ -import common - - -class TagTest(common.EtiquetteTest): - pass diff --git a/tests/test_users.py b/tests/test_users.py deleted file mode 100644 index c8772de..0000000 --- a/tests/test_users.py +++ /dev/null @@ -1,5 +0,0 @@ -import common - - -class UserTest(common.EtiquetteTest): - pass