Add updated documentation and tests
This commit is contained in:
parent
bd910e09e0
commit
5576b58949
15 changed files with 63 additions and 29 deletions
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
|
Loading…
Add table
Add a link
Reference in a new issue