Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/client_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def test_client_default_contentful_user_agent_headers(self):
for e in expected:
self.assertTrue(e in header)

self.assertTrue(re.search('os (Windows|macOS|Linux)(\/.*)?;', header))
self.assertTrue(re.search(r'os (Windows|macOS|Linux)(\/.*)?;', header))

self.assertTrue('integration' not in header)
self.assertTrue('app' not in header)
Expand Down Expand Up @@ -313,7 +313,7 @@ def test_client_with_all_headers(self):
for e in expected:
self.assertTrue(e in header)

self.assertTrue(re.search('os (Windows|macOS|Linux)(\/.*)?;', header))
self.assertTrue(re.search(r'os (Windows|macOS|Linux)(\/.*)?;', header))

def test_client_headers(self):
client = Client(
Expand All @@ -337,7 +337,7 @@ def test_client_headers(self):
for e in expected:
self.assertTrue(e in header)

self.assertTrue(re.search('os (Windows|macOS|Linux)(\/.*)?;', header))
self.assertTrue(re.search(r'os (Windows|macOS|Linux)(\/.*)?;', header))

# Integration Tests

Expand Down