diff options
author | Stuart Mackie <wsmackie@juniper.net> | 2017-03-23 06:19:54 -0700 |
---|---|---|
committer | Stuart Mackie <wsmackie@juniper.net> | 2017-03-23 06:19:54 -0700 |
commit | 88df88a19674ccc0017836941b8ee32eaadf19fb (patch) | |
tree | f930c90f75846ec8d8e33cf27325ff8fafc85d5c /charms/trusty/zookeeper/tests/10-bundles-test.py | |
parent | 9f50a40437477432a21b326b15c343ca6b8fe516 (diff) |
Deleted charms with wrong license. Will source them differently in future.
Change-Id: I0fc99ea03c6b6ca4701e63793cb2be60e56c7588
Signed-off-by: Stuart Mackie <wsmackie@juniper.net>
Diffstat (limited to 'charms/trusty/zookeeper/tests/10-bundles-test.py')
-rw-r--r-- | charms/trusty/zookeeper/tests/10-bundles-test.py | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/charms/trusty/zookeeper/tests/10-bundles-test.py b/charms/trusty/zookeeper/tests/10-bundles-test.py deleted file mode 100644 index 67710c7..0000000 --- a/charms/trusty/zookeeper/tests/10-bundles-test.py +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env python3 - -# This amulet test deploys the bundles.yaml file in this directory. - -import os -import unittest -import yaml -import amulet - -seconds_to_wait = 720 - - -class BundleTest(unittest.TestCase): - """ Create a class for testing the charm in the unit test framework. """ - @classmethod - def setUpClass(cls): - """ Set up an amulet deployment using the bundle. """ - d = amulet.Deployment() - bundle_path = os.path.join(os.path.dirname(__file__), 'bundles.yaml') - with open(bundle_path, 'r') as bundle_file: - contents = yaml.safe_load(bundle_file) - d.load(contents) - d.setup(seconds_to_wait) - d.sentry.wait(seconds_to_wait) - cls.d = d - - def test_deployed(self): - """ Test to see if the bundle deployed successfully. """ - self.assertTrue(self.d.deployed) - - -if __name__ == '__main__': - unittest.main()
\ No newline at end of file |