Skip to content

Commit d1211cb

Browse files
committed
Test should not import version
Test should assert the the current version from utils package is used
1 parent 2b1f45b commit d1211cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import unittest
2-
from mailjet_rest import Client, __version__
2+
from mailjet_rest import Client
33
import os
44
import random
55
import string
@@ -90,7 +90,7 @@ def test_user_agent(self):
9090
auth=self.auth,
9191
version='v3.1'
9292
)
93-
self.assertEqual(self.client.config.user_agent, 'mailjet-apiv3-python/'+__version__)
93+
self.assertEqual(self.client.config.user_agent, 'mailjet-apiv3-python/v1.3.0')
9494

9595

9696
if __name__ == '__main__':

0 commit comments

Comments
 (0)