summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMichael Abel <75477722+abelikt@users.noreply.github.com>2022-02-15 17:40:26 +0100
committerGitHub <noreply@github.com>2022-02-15 17:40:26 +0100
commitad487ffce9c5f2016b9c1caf7f3305d5e4cbe5f7 (patch)
tree1e52d5261141f90579f37a6320ed59a6982c59e2 /tests
parent25e806d6f50a0d4e834927c9e0c23e4c0550ad52 (diff)
[#835] Dynamic Cumulocity id management in system tests (#839)
* Add find_device_id.py from ci branch * Add delete_current_device_c8y.py from ci branch * Use URL from GitHub secrets * Disconnect old bridge before configuring the new one * Add shebang to avoid that we run this with dash * Delete the current device, reconenct and retrieve the new ID * Regenerate bridge in integration test workflow * Use ID from within the script * Remove unused, forgotten variables * Use dynamic C8YDEVICEID in smoke_test * Use dynamic C8YDEVICEID in plugin_test * Use dynamic C8YDEVICEID in software management tests * Use dynamic C8YDEVICEID to run all tests ... ... and avoid an additional bridge configuration * Also configure bridge in offsite workflow ... ... and fix a job name * Move invocation of find device ... ... where we have an enabled environment. And specifically call the interpreter in the environment * Use separate environment in the smoke test and ... ... switch to bash to have source * Also use c8y-api environment for bridge setup * Set executable bits * Also add the c8y API to the requirements * Work on review comments * Replace check for zero with regex * Use name keyword to get the right device
Diffstat (limited to 'tests')
-rw-r--r--tests/requirements.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/requirements.txt b/tests/requirements.txt
index f32fdafc..457f65f5 100644
--- a/tests/requirements.txt
+++ b/tests/requirements.txt
@@ -5,3 +5,5 @@ retry == 0.9.2
junitparser == 2.2.0
junit2html == 30.0.6
psutil == 5.9.0
+c8y-api == 1.1.1
+