Signed-off-by: Andrew Schoen <aschoen@redhat.com>
return volumes
-@pytest.fixture
-def pvolumes(monkeypatch):
- monkeypatch.setattr(process, 'call', lambda x: ('', '', 0))
- pvolumes = api.PVolumes()
- pvolumes._purge()
- return pvolumes
-
-
@pytest.fixture
def volume_groups(monkeypatch):
monkeypatch.setattr(process, 'call', lambda x: ('', '', 0))
return vgs
+@pytest.fixture
+def pvolumes(monkeypatch):
+ monkeypatch.setattr('ceph_volume.process.call', lambda x: ('', '', 0))
+ pvolumes = lvm_api.PVolumes()
+ pvolumes._purge()
+ return pvolumes
+
+
@pytest.fixture
def is_root(monkeypatch):
"""