Commit e68f0f25 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

removing print statements from tests

parent 2694a7d4
...@@ -20,7 +20,6 @@ class PeoplefinderTest(TestCase): ...@@ -20,7 +20,6 @@ class PeoplefinderTest(TestCase):
def test_pf_peoplefinder_method(self): def test_pf_peoplefinder_method(self):
username = 'dhaynes' username = 'dhaynes'
pf_data = pfinfo(username) pf_data = pfinfo(username)
print(pf_data)
self.assertEqual(pf_data[0], ['David', 'Haynes']) self.assertEqual(pf_data[0], ['David', 'Haynes'])
self.assertEqual(pf_data[1], 'CYSE') self.assertEqual(pf_data[1], 'CYSE')
...@@ -28,7 +27,6 @@ class PeoplefinderTest(TestCase): ...@@ -28,7 +27,6 @@ class PeoplefinderTest(TestCase):
def test_pf_ldap_method(self): def test_pf_ldap_method(self):
username = 'lfaraone' username = 'lfaraone'
pf_data = pfinfo(username) pf_data = pfinfo(username)
print(pf_data)
self.assertEqual(pf_data[0], ['Luke W', 'Faraone']) self.assertEqual(pf_data[0], ['Luke W', 'Faraone'])
self.assertEqual(pf_data[1], '') self.assertEqual(pf_data[1], '')
...@@ -36,7 +34,6 @@ class PeoplefinderTest(TestCase): ...@@ -36,7 +34,6 @@ class PeoplefinderTest(TestCase):
def test_pf_employee_method(self): def test_pf_employee_method(self):
username = 'nander13' username = 'nander13'
pf_data = pfinfo(username) pf_data = pfinfo(username)
print(pf_data)
self.assertEqual(pf_data[0], ['Nicholas', 'Anderson']) self.assertEqual(pf_data[0], ['Nicholas', 'Anderson'])
self.assertEqual(pf_data[1], 'Undeclared') self.assertEqual(pf_data[1], 'Undeclared')
...@@ -44,7 +41,6 @@ class PeoplefinderTest(TestCase): ...@@ -44,7 +41,6 @@ class PeoplefinderTest(TestCase):
def test_pf_dne(self): def test_pf_dne(self):
username = 'bobama' username = 'bobama'
pf_data = pfinfo(username) pf_data = pfinfo(username)
print(pf_data)
self.assertEqual(pf_data[0], ['', '']) self.assertEqual(pf_data[0], ['', ''])
self.assertEqual(pf_data[1], '') self.assertEqual(pf_data[1], '')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment