mirror of
https://github.com/aljazceru/vibeline.git
synced 2026-01-30 20:04:19 +01:00
Remove unused test mode
This commit is contained in:
@@ -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()
|
||||
main()
|
||||
Reference in New Issue
Block a user