commit | 3220134fbeabd2e4e93db43074c473a5fa5e89c3 | [log] [tgz] |
---|---|---|
author | rabi <ramishra@redhat.com> | Fri Nov 17 22:57:58 2017 +0530 |
committer | rabi <ramishra@redhat.com> | Sat Nov 18 13:33:55 2017 +0530 |
tree | 295955ee50fc2561da047f89f9bf677e2132e4ba | |
parent | 94a520a653a0d71c581b912bcd1c223661b0c489 [diff] [blame] |
Remove dependence on heat.common Change-Id: I6b13b184edbc51a48633c82ce2db9814c9f7e2ce
diff --git a/heat_tempest_plugin/common/test.py b/heat_tempest_plugin/common/test.py index d719ad0..97d8d8c 100644 --- a/heat_tempest_plugin/common/test.py +++ b/heat_tempest_plugin/common/test.py
@@ -60,6 +60,12 @@ return False +def isotime(at): + if at is None: + return None + return at.strftime('%Y-%m-%dT%H:%M:%SZ') + + def rand_name(name=''): randbits = six.text_type(random.randint(1, 0x7fffffff)) if name: