From ae803f13a0a4282681fdbe1b354dd6d9bf4595fc Mon Sep 17 00:00:00 2001 From: Gigi Date: Tue, 1 Apr 2025 15:17:58 +0100 Subject: [PATCH] Remove unused test mode --- src/extract.py | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/src/extract.py b/src/extract.py index a61a691..db12ed5 100755 --- a/src/extract.py +++ b/src/extract.py @@ -131,23 +131,4 @@ def main(): print("----------------------------------------") if __name__ == "__main__": - if len(sys.argv) > 1 and sys.argv[1] == "--test": - # Test mode - test_files = [ - "tests/transcripts/test_app_idea.txt", - "tests/transcripts/test_blog_post.txt", - "tests/transcripts/test_both.txt" - ] - - plugins = load_plugins() - available_plugins = list(plugins.keys()) - - for test_file in test_files: - print(f"\nTesting {test_file}:") - with open(test_file, 'r') as f: - text = f.read() - content_types = determine_active_plugins(text, available_plugins) - print(f"Detected content types: {content_types}") - else: - # Normal mode - main() \ No newline at end of file + main() \ No newline at end of file