Drop test_genDmesg test
authorReto Buerki <reet@codelabs.ch>
Tue, 12 Sep 2017 18:57:34 +0000 (20:57 +0200)
committerReto Buerki <reet@codelabs.ch>
Tue, 12 Sep 2017 19:43:26 +0000 (21:43 +0200)
Running dmesg requires root on Debian stretch.

test/test_creator.py

index baaa406..41035e0 100644 (file)
@@ -42,11 +42,6 @@ class TestCreator:
     def setUp(self):
         self.testdir = testpaths.PATH_TEST_CREATOR
 
-    def test_genDmesg(setUp):
-        gen = testpaths.PATH_TEST_GEN
-        creator.genDmesg(gen, "test_genDmesg")
-        assert os.path.isfile(os.path.join(gen, "test_genDmesg"))
-
     def test_create_elements(setUp):
 
         def mock_dmesg(arg, *args):