azimuth-robotframework 0.2.9__tar.gz → 0.2.11__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. {azimuth-robotframework-0.2.9 → azimuth-robotframework-0.2.11}/Azimuth/kubernetes_app_templates.py +1 -1
  2. {azimuth-robotframework-0.2.9 → azimuth-robotframework-0.2.11}/Azimuth/main.py +5 -0
  3. {azimuth-robotframework-0.2.9 → azimuth-robotframework-0.2.11}/PKG-INFO +1 -1
  4. {azimuth-robotframework-0.2.9 → azimuth-robotframework-0.2.11}/azimuth_robotframework.egg-info/PKG-INFO +1 -1
  5. {azimuth-robotframework-0.2.9 → azimuth-robotframework-0.2.11}/.github/workflows/pypi-publish.yaml +0 -0
  6. {azimuth-robotframework-0.2.9 → azimuth-robotframework-0.2.11}/.gitignore +0 -0
  7. {azimuth-robotframework-0.2.9 → azimuth-robotframework-0.2.11}/Azimuth/__init__.py +0 -0
  8. {azimuth-robotframework-0.2.9 → azimuth-robotframework-0.2.11}/Azimuth/cluster_types.py +0 -0
  9. {azimuth-robotframework-0.2.9 → azimuth-robotframework-0.2.11}/Azimuth/clusters.py +0 -0
  10. {azimuth-robotframework-0.2.9 → azimuth-robotframework-0.2.11}/Azimuth/external_ips.py +0 -0
  11. {azimuth-robotframework-0.2.9 → azimuth-robotframework-0.2.11}/Azimuth/kubernetes_apps.py +0 -0
  12. {azimuth-robotframework-0.2.9 → azimuth-robotframework-0.2.11}/Azimuth/kubernetes_cluster_templates.py +0 -0
  13. {azimuth-robotframework-0.2.9 → azimuth-robotframework-0.2.11}/Azimuth/kubernetes_clusters.py +0 -0
  14. {azimuth-robotframework-0.2.9 → azimuth-robotframework-0.2.11}/Azimuth/sizes.py +0 -0
  15. {azimuth-robotframework-0.2.9 → azimuth-robotframework-0.2.11}/Azimuth/util.py +0 -0
  16. {azimuth-robotframework-0.2.9 → azimuth-robotframework-0.2.11}/Azimuth/zenith.py +0 -0
  17. {azimuth-robotframework-0.2.9 → azimuth-robotframework-0.2.11}/LICENSE +0 -0
  18. {azimuth-robotframework-0.2.9 → azimuth-robotframework-0.2.11}/README.md +0 -0
  19. {azimuth-robotframework-0.2.9 → azimuth-robotframework-0.2.11}/azimuth_robotframework.egg-info/SOURCES.txt +0 -0
  20. {azimuth-robotframework-0.2.9 → azimuth-robotframework-0.2.11}/azimuth_robotframework.egg-info/dependency_links.txt +0 -0
  21. {azimuth-robotframework-0.2.9 → azimuth-robotframework-0.2.11}/azimuth_robotframework.egg-info/not-zip-safe +0 -0
  22. {azimuth-robotframework-0.2.9 → azimuth-robotframework-0.2.11}/azimuth_robotframework.egg-info/requires.txt +0 -0
  23. {azimuth-robotframework-0.2.9 → azimuth-robotframework-0.2.11}/azimuth_robotframework.egg-info/top_level.txt +0 -0
  24. {azimuth-robotframework-0.2.9 → azimuth-robotframework-0.2.11}/pyproject.toml +0 -0
  25. {azimuth-robotframework-0.2.9 → azimuth-robotframework-0.2.11}/setup.cfg +0 -0
  26. {azimuth-robotframework-0.2.9 → azimuth-robotframework-0.2.11}/setup.py +0 -0
@@ -39,7 +39,7 @@ class KubernetesAppTemplateKeywords:
39
39
  Returns the latest version for the Kubernetes app template.
40
40
  """
41
41
  try:
42
- return next(iter(template.versions))
42
+ return next(iter(template["versions"]))
43
43
  except StopIteration:
44
44
  raise AssertionError(f"no versions for Kubernetes app template '{template.id}'")
45
45
 
@@ -24,10 +24,12 @@ class Azimuth(DynamicCore):
24
24
  # This ensures that one instance of the library is shared everywhere
25
25
  # This is important to get the client sharing working correctly
26
26
  ROBOT_LIBRARY_SCOPE = "GLOBAL"
27
+ ROBOT_LISTENER_API_VERSION = 3
27
28
 
28
29
  def __init__(self):
29
30
  # The Azimuth client instance
30
31
  self.client: SyncClient = None
32
+ self.ROBOT_LIBRARY_LISTENER = self
31
33
  super().__init__([
32
34
  ClusterTypeKeywords(self),
33
35
  ClusterKeywords(self),
@@ -140,3 +142,6 @@ class Azimuth(DynamicCore):
140
142
  suffix = "".join(secrets.choice(suffix_chars) for _ in range(suffix_length))
141
143
  return f"{prefix}-{suffix}"
142
144
 
145
+ def _end_test(self, data, result):
146
+ mins, secs = divmod(result.elapsedtime / 1000, 60)
147
+ print(f"elapsed time: {mins:0>1.0f}m {secs:.0f}s")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: azimuth-robotframework
3
- Version: 0.2.9
3
+ Version: 0.2.11
4
4
  Summary: Robot framework library for interacting with Azimuth.
5
5
  Home-page: https://github.com/stackhpc/azimuth-robotframework
6
6
  Author: Matt Pryor
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: azimuth-robotframework
3
- Version: 0.2.9
3
+ Version: 0.2.11
4
4
  Summary: Robot framework library for interacting with Azimuth.
5
5
  Home-page: https://github.com/stackhpc/azimuth-robotframework
6
6
  Author: Matt Pryor