mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-12-02 03:45:25 +03:00
[2051] Add Tests and gitignore File
This commit is contained in:
7 files changed
+64
-46
No files matched your search
@@ -1,6 +1,6 @@
|
||||
"""Tests of killswitch behaviour."""
|
||||
import copy
|
||||
from typing import Optional
|
||||
from typing import Optional, List
|
||||
|
||||
import pytest
|
||||
import semantic_version
|
||||
@@ -85,7 +85,7 @@ def test_operator_precedence(
|
||||
]
|
||||
)
|
||||
def test_check_multiple(
|
||||
names: list[str], input: killswitch.UPDATABLE_DATA, result: killswitch.UPDATABLE_DATA, expected_return: bool
|
||||
names: List[str], input: killswitch.UPDATABLE_DATA, result: killswitch.UPDATABLE_DATA, expected_return: bool
|
||||
) -> None:
|
||||
"""Check that order is correct when checking multiple killswitches."""
|
||||
should_return, data = TEST_SET.check_multiple_killswitches(input, *names, version='1.0.0')
|
||||
|
||||
Reference in new issue
Block a user