diff options
Diffstat (limited to 'manager/tests/unit/utils/test_dataclasses.py')
-rw-r--r-- | manager/tests/unit/utils/test_dataclasses.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/manager/tests/unit/utils/test_dataclasses.py b/manager/tests/unit/utils/test_dataclasses.py deleted file mode 100644 index c402c092..00000000 --- a/manager/tests/unit/utils/test_dataclasses.py +++ /dev/null @@ -1,15 +0,0 @@ -from knot_resolver_manager.compat.dataclasses import dataclass, is_dataclass - - -def test_dataclass(): - @dataclass - class A: - b: int = 5 - - val = A(6) - assert val.b == 6 - - val = A(b=7) - assert val.b == 7 - - assert is_dataclass(A) |