]> git.proxmox.com Git - ceph.git/blob - ceph/src/ceph-volume/ceph_volume/tests/conftest.py
update sources to v12.1.3
[ceph.git] / ceph / src / ceph-volume / ceph_volume / tests / conftest.py
1 import pytest
2
3 class Capture(object):
4
5 def __init__(self, *a, **kw):
6 self.a = a
7 self.kw = kw
8 self.calls = []
9
10 def __call__(self, *a, **kw):
11 self.calls.append({'args': a, 'kwargs': kw})
12
13
14 @pytest.fixture
15 def capture():
16 return Capture()