kopia lustrzana https://github.com/c9/core
Add mock files for python tests
rodzic
251c41f799
commit
f84c9a2e59
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1,4 @@
|
|||
from ..user.models import User
|
||||
|
||||
def test_user():
|
||||
return User()
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
class User():
|
||||
def __repr__(self):
|
||||
return '<User test>'
|
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env python3
|
||||
from app.tests.tests import test_user
|
||||
print(test_user())
|
Ładowanie…
Reference in New Issue