def test_underscore_allowed(self): # http://lukemurphey.net/issues/1002 # http://answers.splunk.com/answers/233571/website-monitoring-is-not-working-with-proxy-setup.html validator = HostFieldValidator() self.assertTrue(validator.is_valid_hostname("my_proxy.localhost.com"))