Example #1
0
 def test_headers(self):
     self.assertEqual(
         datadog_agent.headers(), {
             'Content-Type': 'application/x-www-form-urlencoded',
             'Accept': 'text/html, */*',
             'User-Agent': 'Datadog Agent/6.0.0'
         })
Example #2
0
 def test_headers(self):
     self.assertEqual(datadog_agent.headers(), {'Content-Type': 'application/x-www-form-urlencoded', 'Accept': 'text/html, */*', 'User-Agent': 'Datadog Agent/6.0.0'})