We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent beaff35 commit 0c5cb16Copy full SHA for 0c5cb16
pytest_lockable/plugin.py
@@ -13,7 +13,7 @@ def pytest_addoption(parser):
13
group = parser.getgroup("lockable")
14
group.addoption("--allocation_hostname", default=socket.gethostname(), help="Allocation host")
15
group.addoption("--allocation_requirements", default=None, help="Resource requirements to be allocate")
16
- group.addoption("--allocation_timeout", default=10, help="Allocation timeout")
+ group.addoption("--allocation_timeout", type=int, default=10, help="Allocation timeout")
17
group.addoption("--allocation_resource_list_file", default='resources.json', help="Available resources list")
18
group.addoption("--allocation_lock_folder", default=tempfile.gettempdir(), help="Allocation lockfiles folder")
19
0 commit comments