Skip to content

Commit

Permalink
Merge pull request #1303 from vojtechtrefny/main_tests-logging-fix
Browse files Browse the repository at this point in the history
tests: Do not set logging when loading gpt_test
  • Loading branch information
vojtechtrefny authored Oct 11, 2024
2 parents dae2f78 + 23d4cf3 commit 10a69fc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/vmtests/gpt_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

import parted

set_up_logging()


class GPTTestBase(VMBackedTestCase):

Expand All @@ -34,6 +32,12 @@ def __init__(self, *args, **kwargs):
self.usrluks = None
self.usr = None

@classmethod
def setUpClass(cls):
super().setUpClass()

set_up_logging()

def set_up_disks(self):
disklabel.DiskLabel.set_default_label_type("gpt")

Expand Down

0 comments on commit 10a69fc

Please sign in to comment.