def test_no_api_key(self):
    with self.assertRaises(Exception):
        client = googlemaps.Client()
        client.directions('Sydney', 'Melbourne')
def test_no_api_key(self):
    with self.assertRaises(Exception):
        client = googlemaps.Client()
        client.directions('Sydney', 'Melbourne')