aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_directories.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_directories.py')
-rw-r--r--tests/test_directories.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/test_directories.py b/tests/test_directories.py
index b366192..c208810 100644
--- a/tests/test_directories.py
+++ b/tests/test_directories.py
@@ -27,3 +27,16 @@ def test_all(config, database):
counts = loader.index_file(database)
assert counts["total"] >= 20
assert counts["inserted"] > 5
+
+ for cls in ALL_CHOCULA_KBART_CLASSES:
+ loader = cls(config)
+ counts = loader.index_file(database)
+ assert counts["total"] >= 10
+ assert counts["inserted"] >= 1
+
+ # TODO: database.load_fatcat_containers(config)
+ # TODO: database.load_fatcat_stats(config)
+ # TODO: database.load_homepage_status(config)
+ database.summarize()
+ database.export_fatcat()
+ database.export_urls()