Skip to content

Commit

Permalink
added test for scan SSID's, currently dummy data
Browse files Browse the repository at this point in the history
  • Loading branch information
acutesoftware committed Aug 7, 2017
1 parent c05889b commit 51656f6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/test_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,16 @@ def test_08_phone(self):
self.assertEqual(ph.inspect_phone(on_charge = False), 'Phone is being used')


def test_10_where_am_i(self):
def test_10_scan_for_ssids(self):
ssids = context.scan_for_ssids()
self.assertEqual(ssids, ['AcuteSoftware', 'Netcomm Duplicate Name', 'Some other SSID'])

def test_11_where_am_i(self):
location = context.where_am_i()
self.assertEqual(location, 'Home')




if __name__ == '__main__':
unittest.main()

0 comments on commit 51656f6

Please sign in to comment.