Add updated documentation and tests

This commit is contained in:
Tim Schubert 2018-08-23 13:04:28 +02:00
parent bd910e09e0
commit 5576b58949
15 changed files with 63 additions and 29 deletions

1
tests/.#test_students.py Symbolic link
View file

@ -0,0 +1 @@
tim@metis.680:1534753335

0
tests/__init.py__ Normal file
View file

8
tests/test_auth.py Normal file
View file

@ -0,0 +1,8 @@
import gitlab
def auth(config="/tmp/python-gitlab.cfg"):
gl = gitlab.Gitlab.from_config(config_files=[config])
gl.auth()
return gl

27
tests/test_commands.py Normal file
View file

@ -0,0 +1,27 @@
import gitlab
from abgabesystem.commands import create_users, projects, deadline, plagiates, course
gl = gitlab.Gitlab.from_config()
gl.auth()
def test_create_users():
pass
def test_courses():
pass
def test_projects():
pass
def test_deadlines():
pass
def test_plagiates():
pass

0
tests/test_projects.py Normal file
View file

0
tests/test_students.py Normal file
View file