Skip to content

Commit

Permalink
Remove before merging
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtechtrefny committed Sep 19, 2024
1 parent bf09674 commit 7a95840
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/storage_tests/devices_test/stratis_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,16 @@ def _clean_up(self):
class StratisTestCase(StratisTestCaseBase):

def test_stratis_basic(self):
print("self.vdevs: %s" % self.vdevs)
disk = self.storage.devicetree.get_device_by_path(self.vdevs[0])
self.assertIsNotNone(disk)
self.storage.initialize_disk(disk)

bd = self.storage.new_partition(size=blivet.size.Size("1 GiB"), fmt_type="stratis",
parents=[disk])
self.storage.create_device(bd)
print("bd: %s" % bd)
print("disk: %s" % disk)

blivet.partitioning.do_partitioning(self.storage)

Expand Down

0 comments on commit 7a95840

Please sign in to comment.