Added isort config; linter now checks tests
Some checks failed
continuous-integration/drone the build failed
Some checks failed
continuous-integration/drone the build failed
This commit is contained in:
parent
cffc928d2f
commit
e044c07cd6
9 changed files with 19 additions and 11 deletions
|
|
@ -0,0 +1 @@
|
|||
"""Main testing module."""
|
||||
|
|
@ -1,15 +1,13 @@
|
|||
"""Tests wether the skeleton merge works."""
|
||||
from app.skeleton import merge_with_skeleton
|
||||
from app.exceptions import InvalidKeyError, MissingKeyError
|
||||
import pytest
|
||||
|
||||
from app.exceptions import InvalidKeyError, MissingKeyError
|
||||
from app.skeleton import merge_with_skeleton
|
||||
|
||||
|
||||
def test_single_invalid_key():
|
||||
"""Tests wether an InvalidKeyError is correctly thrown for a single key."""
|
||||
data = {
|
||||
"test": 1,
|
||||
"test2": "test"
|
||||
}
|
||||
data = {"test": 1, "test2": "test"}
|
||||
skel = {
|
||||
"test": None,
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue