Add updated documentation and tests
This commit is contained in:
parent
bd910e09e0
commit
5576b58949
15 changed files with 63 additions and 29 deletions
1
tests/.#test_students.py
Symbolic link
1
tests/.#test_students.py
Symbolic link
|
@ -0,0 +1 @@
|
|||
tim@metis.680:1534753335
|
0
tests/__init.py__
Normal file
0
tests/__init.py__
Normal file
8
tests/test_auth.py
Normal file
8
tests/test_auth.py
Normal 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
27
tests/test_commands.py
Normal 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
0
tests/test_projects.py
Normal file
0
tests/test_students.py
Normal file
0
tests/test_students.py
Normal file
Loading…
Add table
Add a link
Reference in a new issue