From 390d3b900cb686ba141298d2924a9fb2bd66f1a2 Mon Sep 17 00:00:00 2001 From: Konstantinos Koukopoulos Date: Mon, 24 Feb 2014 12:08:00 +0200 Subject: [PATCH] add a first failing unit test for keypairs --- tests/test_ec2/test_key_pairs.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_ec2/test_key_pairs.py b/tests/test_ec2/test_key_pairs.py index 7a961051e..a5e35455d 100644 --- a/tests/test_ec2/test_key_pairs.py +++ b/tests/test_ec2/test_key_pairs.py @@ -5,5 +5,6 @@ from moto import mock_ec2 @mock_ec2 -def test_key_pairs(): - pass +def test_key_pairs_empty(): + conn = boto.connect_ec2('the_key', 'the_secret') + assert len(conn.get_all_key_pairs()) == 0