Skip to content

Commit

Permalink
fix style err
Browse files Browse the repository at this point in the history
  • Loading branch information
fanglinfang committed Aug 7, 2023
1 parent b74aac7 commit 2ac1298
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions uw_space/tests/test_facilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,16 @@ def test_search_by_code(self):

fac = Facilities().search_by_code("MDR")
self.assertEqual(len(fac), 1)
self.assertEqual(fac[0].json_data(),
{
'code': 'MDR',
'last_updated': '2022-09-22 12:49:38',
'latitude': 47.6601320001,
'longitude': -122.305391,
'name': 'Madrona Hall',
'number': '6471',
'site': 'Seattle Main Campus',
'status': 'A',
'type': 'Building'
self.assertEqual(fac[0].json_data(), {
'code': 'MDR',
'last_updated': '2022-09-22 12:49:38',
'latitude': 47.6601320001,
'longitude': -122.305391,
'name': 'Madrona Hall',
'number': '6471',
'site': 'Seattle Main Campus',
'status': 'A',
'type': 'Building'
})

def test_search_by_number(self):
Expand Down

0 comments on commit 2ac1298

Please sign in to comment.