You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2013/08/17 18:06:13 UTC
[4/6] git commit: Add a test case for ninefold loadbalancer driver.
Add a test case for ninefold loadbalancer driver.
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/4e48b458
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/4e48b458
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/4e48b458
Branch: refs/heads/trunk
Commit: 4e48b4587d8af6cce0cc083db10287c8a9f933e3
Parents: 2b5f467
Author: Tomaz Muraus <to...@apache.org>
Authored: Sat Aug 17 17:10:13 2013 +0200
Committer: Tomaz Muraus <to...@apache.org>
Committed: Sat Aug 17 17:10:13 2013 +0200
----------------------------------------------------------------------
libcloud/test/loadbalancer/test_ninefold.py | 15 +++++++++++++++
1 file changed, 15 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/4e48b458/libcloud/test/loadbalancer/test_ninefold.py
----------------------------------------------------------------------
diff --git a/libcloud/test/loadbalancer/test_ninefold.py b/libcloud/test/loadbalancer/test_ninefold.py
new file mode 100644
index 0000000..c3c514f
--- /dev/null
+++ b/libcloud/test/loadbalancer/test_ninefold.py
@@ -0,0 +1,15 @@
+import sys
+import unittest
+
+from libcloud.loadbalancer.types import Provider
+from libcloud.loadbalancer.providers import get_driver
+
+
+class NinefoldLbTestCase(unittest.TestCase):
+ def test_driver_instantiation(self):
+ cls = get_driver(Provider.NINEFOLD)
+ cls('username', 'key')
+
+
+if __name__ == '__main__':
+ sys.exit(unittest.main())