Skip to content

Commit 2e611f8

Browse files
author
Maria Korlotian
authored
Fix version (#102)
1 parent 4303b90 commit 2e611f8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

castle/test/client_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def test_init(self):
4141
'X-Castle-Client-Id': '1234'
4242
},
4343
'ip': '217.144.192.112',
44-
'context': {'active': True, 'library': {'name': 'castle-python', 'version': '5.0.1'}}
44+
'context': {'active': True, 'library': {'name': 'castle-python', 'version': VERSION}}
4545
}
4646
self.assertEqual(client.default_options, default_options)
4747
self.assertEqual(client.do_not_track, False)

castle/test/payload/prepare_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def res():
3131
'X-Castle-Client-Id': '1234'
3232
},
3333
'ip': '217.144.192.112',
34-
'context': {'active': True, 'library': {'name': 'castle-python', 'version': '5.0.1'}},
34+
'context': {'active': True, 'library': {'name': 'castle-python', 'version': VERSION}},
3535
'timestamp': '2018-01-02T03:04:05.678'
3636
}
3737

@@ -47,7 +47,7 @@ def resWithDeprecation():
4747
'X-Castle-Client-Id': '1234'
4848
},
4949
'ip': '217.144.192.112',
50-
'context': {'active': True, 'library': {'name': 'castle-python', 'version': '5.0.1'}},
50+
'context': {'active': True, 'library': {'name': 'castle-python', 'version': VERSION}},
5151
'timestamp': '2018-01-02T03:04:05.678'
5252
}
5353

0 commit comments

Comments
 (0)