fix(corporate): align runtime timestamps and require database-ready pilots
Deploy Canina / deploy (push) Failing after 1s

This commit is contained in:
Canina Automation committed 2026-10-28 13:08:29 +00:00
1 parent b642833b8b
commit 94f08b8c8a
4 files changed
+40 -7

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/env python3
"""Regression checks for repeatable disposable integration pilots."""
import unittest
import corporate_pilot as pilot
class PilotTests(unittest.TestCase):
def test_each_run_has_distinct_authenticated_subject_namespace(self):
first = pilot.pilot_environment({})
second = pilot.pilot_environment({})
self.assertNotEqual(first['CORPORATE_PILOT_RUN_ID'], second['CORPORATE_PILOT_RUN_ID'])
self.assertNotEqual(first['CORPORATE_API_KEY'], first['CORPORATE_QA_API_KEY'])
self.assertEqual(first['CORPORATE_TEST_DATABASE_URL'],
'postgresql://hermes@127.0.0.1:55441/corporate_test')
if __name__ == '__main__':
unittest.main()