Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
roomlist
Commits
e68f0f25
Commit
e68f0f25
authored
Dec 23, 2016
by
Daniel W Bond
Browse files
removing print statements from tests
parent
2694a7d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
roomlist/accounts/test_views.py
View file @
e68f0f25
...
...
@@ -20,7 +20,6 @@ class PeoplefinderTest(TestCase):
def
test_pf_peoplefinder_method
(
self
):
username
=
'dhaynes'
pf_data
=
pfinfo
(
username
)
print
(
pf_data
)
self
.
assertEqual
(
pf_data
[
0
],
[
'David'
,
'Haynes'
])
self
.
assertEqual
(
pf_data
[
1
],
'CYSE'
)
...
...
@@ -28,7 +27,6 @@ class PeoplefinderTest(TestCase):
def
test_pf_ldap_method
(
self
):
username
=
'lfaraone'
pf_data
=
pfinfo
(
username
)
print
(
pf_data
)
self
.
assertEqual
(
pf_data
[
0
],
[
'Luke W'
,
'Faraone'
])
self
.
assertEqual
(
pf_data
[
1
],
''
)
...
...
@@ -36,7 +34,6 @@ class PeoplefinderTest(TestCase):
def
test_pf_employee_method
(
self
):
username
=
'nander13'
pf_data
=
pfinfo
(
username
)
print
(
pf_data
)
self
.
assertEqual
(
pf_data
[
0
],
[
'Nicholas'
,
'Anderson'
])
self
.
assertEqual
(
pf_data
[
1
],
'Undeclared'
)
...
...
@@ -44,7 +41,6 @@ class PeoplefinderTest(TestCase):
def
test_pf_dne
(
self
):
username
=
'bobama'
pf_data
=
pfinfo
(
username
)
print
(
pf_data
)
self
.
assertEqual
(
pf_data
[
0
],
[
''
,
''
])
self
.
assertEqual
(
pf_data
[
1
],
''
)
...
...
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