Lines Matching +full:localhost +full:- +full:test
3 # Use of this source code is governed by a BSD-style license that can be
29 """Test _geturl() happy path."""
30 urls = afe_urls.AfeUrls('http://localhost/afe/')
32 self.assertURLEqual(got, 'http://localhost/afe/#foo=bar&spam=eggs')
35 """Test get_host_url() happy path."""
36 urls = afe_urls.AfeUrls('http://localhost/afe/')
40 'http://localhost/afe/#tab_id=view_host&object_id=42')
43 """Test happy path for root_url attribute."""
44 urls = afe_urls.AfeUrls('http://localhost/afe/')
45 self.assertEqual(urls.root_url, 'http://localhost/afe/')
48 """Test happy path for equality."""
49 urls1 = afe_urls.AfeUrls('http://localhost/afe/')
50 urls2 = afe_urls.AfeUrls('http://localhost/afe/')
54 """Test from_hostname() happy path."""