testutil: add AtomicCounter() as a threadsafe counter
The existing code in the reqs counting is not really thread safe, this commit fixes that.
This commit is contained in:
parent
b90a5027dc
commit
b9b296a7e5
4 changed files with 39 additions and 8 deletions
2
tox.ini
2
tox.ini
|
|
@ -28,7 +28,7 @@ setenv =
|
|||
LINTABLES_EXCLUDES = "*.json,*.sh"
|
||||
LINTABLES_EXCLUDES_RE = ".*\.json$,.*\.sh"
|
||||
TYPEABLES = osbuild
|
||||
TYPEABLES_STRICT = ./osbuild/main_cli.py ./osbuild/util/parsing.py
|
||||
TYPEABLES_STRICT = ./osbuild/main_cli.py ./osbuild/util/parsing.py ./osbuild/testutil/atomic.py
|
||||
|
||||
passenv =
|
||||
TEST_CATEGORY
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue