Add user agent to all headers

This commit is contained in:
Kevin Fronczak
2020-08-02 03:22:49 +00:00
parent 5ebf278ad3
commit cb43f17d75
2 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ class TestAuth(unittest.TestCase):
def test_header(self):
"""Test header data."""
self.auth.token = "bar"
expected_header = {"TOKEN_AUTH": "bar"}
expected_header = {"TOKEN_AUTH": "bar", "user-agent": const.DEFAULT_USER_AGENT}
self.assertDictEqual(self.auth.header, expected_header)
def test_header_no_token(self):