@@ -144,10 +144,12 @@ class Transaction:
class TestConfig:
def __init__(self,
def __init__(self, *,
payment_threshold=0,
repo_path=None,
rt_client=None,
):
self._payment_threshold = Decimal(payment_threshold)
self.repo_path = test_path(repo_path)
self._rt_client = rt_client
if rt_client is None:
@@ -155,6 +157,9 @@ class TestConfig:
else:
self._rt_wrapper = rtutil.RT(rt_client)
def payment_threshold(self):
return self._payment_threshold
def repository_path(self):
return self.repo_path