Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Fachschaftsrat Physik TUKL
Protokoll
protokoll_skript
Commits
5e063319
Commit
5e063319
authored
Jul 26, 2018
by
Lorenz Steinert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved some stuff around
parent
2d61a116
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
bin/module/test.py
bin/module/test.py
+4
-5
No files found.
bin/module/test.py
View file @
5e063319
...
...
@@ -39,6 +39,10 @@ class FsrLdapTest(unittest.TestCase):
self
.
assertEqual
(
self
.
test_ldap_server
.
get_fsr_ldap
(
self
.
sharedir
,
testing
=
True
),
[
'testing test1'
,
'testing test2'
,
'testing test3'
])
def
test_get_fsr_extern_ldap
(
self
):
self
.
assertEqual
(
self
.
test_ldap_server
.
get_fsr_extern_ldap
(
self
.
sharedir
,
testing
=
True
),
[
'testing test4'
,
'testing test5'
,
'testing test6'
])
def
test_get_fsr_ldap_no_server
(
self
):
self
.
test_ldap_server
.
server
=
""
self
.
assertEqual
(
self
.
test_ldap_server
.
get_fsr_ldap
(
self
.
sharedir
,
testing
=
True
),
...
...
@@ -49,11 +53,6 @@ class FsrLdapTest(unittest.TestCase):
self
.
assertEqual
(
self
.
test_ldap_server
.
get_fsr_extern_ldap
(
self
.
sharedir
,
testing
=
True
),
[])
def
test_get_fsr_extern_ldap
(
self
):
self
.
assertEqual
(
self
.
test_ldap_server
.
get_fsr_extern_ldap
(
self
.
sharedir
,
testing
=
True
),
[
'testing test4'
,
'testing test5'
,
'testing test6'
])
def
tearDown
(
self
):
os
.
remove
(
"/tmp/python3-esme-testing/fsr"
)
os
.
remove
(
"/tmp/python3-esme-testing/fsr_extern"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment