We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c76a5d0 commit 7ce02fcCopy full SHA for 7ce02fc
tests/integration/test_admin.py
@@ -0,0 +1,18 @@
1
+# -*- coding: utf-8 -*-
2
+
3
+import os
4
+import unittest
5
+from intercom import Intercom
6
+from intercom.admin import Admin
7
8
+Intercom.app_id = os.environ.get('INTERCOM_APP_ID')
9
+Intercom.app_api_key = os.environ.get('INTERCOM_APP_API_KEY')
10
11
12
+class AdminTest(unittest.TestCase):
13
14
+ def test(self):
15
+ # Iterate over all admins
16
+ for admin in Admin.all():
17
+ self.assertIsNotNone(admin.id)
18
+ self.assertIsNotNone(admin.email)
0 commit comments