Added isort config; linter now checks tests
Some checks failed
continuous-integration/drone the build failed

This commit is contained in:
Jef Roosens 2021-05-22 18:41:57 +02:00
parent cffc928d2f
commit e044c07cd6
Signed by: Jef Roosens
GPG key ID: 955C0660072F691F
9 changed files with 19 additions and 11 deletions

View file

@ -0,0 +1 @@
"""Main testing module."""

View file

@ -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,
}