-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5c75d48
commit 5839ba7
Showing
2 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,36 @@ | ||
from tests.serializers import ( | ||
ProfileSerializer, | ||
RoleSerializer, | ||
SkillSerializer, | ||
TagSerializer, | ||
TaskSerializer, | ||
TeamSerializer, | ||
UserSerializer, | ||
) | ||
import marshmallow | ||
|
||
import tests.serializers | ||
import worf.serializers | ||
|
||
|
||
def test_missing(): | ||
assert worf.serializers.missing == marshmallow.missing | ||
|
||
|
||
def test_profile_serializer(): | ||
assert f"{ProfileSerializer()}" | ||
assert f"{tests.serializers.ProfileSerializer()}" | ||
|
||
|
||
def test_role_serializer(): | ||
assert f"{RoleSerializer()}" | ||
assert f"{tests.serializers.RoleSerializer()}" | ||
|
||
|
||
def test_skill_serializer(): | ||
assert f"{SkillSerializer()}" | ||
assert f"{tests.serializers.SkillSerializer()}" | ||
|
||
|
||
def test_tag_serializer(): | ||
assert f"{TagSerializer()}" | ||
assert f"{tests.serializers.TagSerializer()}" | ||
|
||
|
||
def test_task_serializer(): | ||
assert f"{TaskSerializer()}" | ||
assert f"{tests.serializers.TaskSerializer()}" | ||
|
||
|
||
def test_team_serializer(): | ||
assert f"{TeamSerializer()}" | ||
assert f"{tests.serializers.TeamSerializer()}" | ||
|
||
|
||
def test_user_serializer(): | ||
assert f"{UserSerializer()}" | ||
assert f"{tests.serializers.UserSerializer()}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters