Add mock files for python tests

This commit is contained in:
Lennart Kats 2016-01-29 09:35:21 +00:00
parent 251c41f799
commit f84c9a2e59
6 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1 @@

View File

@ -0,0 +1,4 @@
from ..user.models import User
def test_user():
return User()

View File

@ -0,0 +1 @@

View File

@ -0,0 +1,3 @@
class User():
def __repr__(self):
return '<User test>'

View File

@ -0,0 +1,3 @@
#!/usr/bin/env python3
from app.tests.tests import test_user
print(test_user())