Skip to content

Commit

Permalink
swimlane: add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
laerfulaolun committed Mar 23, 2024
1 parent c1d5c6b commit b0c48aa
Showing 1 changed file with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import unittest
import asyncio

from automon.integrations.swimlaneWrapper.client import SwimlaneClientRest

client = SwimlaneClientRest()


class MyTestCase(unittest.TestCase):
def test_login(self):
if asyncio.run(client.is_ready()):
if asyncio.run(client.login()):
app_id = client.config.appId
delete_all = asyncio.run(
client.record_delete_all(appId=app_id)
)

self.assertTrue(delete_all)

pass


if __name__ == '__main__':
unittest.main()

0 comments on commit b0c48aa

Please sign in to comment.