Skip to content

Instantly share code, notes, and snippets.

@sampsyo
Created March 31, 2015 03:58
Show Gist options
  • Save sampsyo/15b97be9227006661717 to your computer and use it in GitHub Desktop.
Save sampsyo/15b97be9227006661717 to your computer and use it in GitHub Desktop.
diff --git a/test/test_logging.py b/test/test_logging.py
index a579836..1c70e00 100644
--- a/test/test_logging.py
+++ b/test/test_logging.py
@@ -72,7 +72,7 @@ class LoggingLevelTest(unittest.TestCase, helper.TestHelper):
def setUp(self):
sys.modules['beetsplug.dummy'] = self.DummyModule
beetsplug.dummy = self.DummyModule
- self.setup_beets()
+ self.setup_beets(disk=True)
self.load_plugins('dummy')
def tearDown(self):
@@ -158,6 +158,11 @@ class LoggingLevelTest(unittest.TestCase, helper.TestHelper):
self.assertIn('dummy: info import_stage', logs)
self.assertIn('dummy: debug import_stage', logs)
+ def test_foo(self):
+ self.config['threaded'] = True
+ importer = self.create_importer()
+ importer.run()
+
class ConcurrentEventsTest(TestCase, helper.TestHelper):
"""Similar to LoggingLevelTest but lower-level and focused on multiple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment