remove useless event unit test code

In v2.test_shell.ShellEventListCommandTest, we specify traits
twice, the first one should be removed.

Change-Id: Iedd7c6161165816b9e76c44ef0f2ae6bf6016204
This commit is contained in:
ZhiQiang Fan
2015-04-24 10:18:37 +08:00
parent 3f74b64585
commit 6a3b076679

View File

@@ -1033,7 +1033,6 @@ class ShellEventListCommandTest(utils.BaseTestCase):
EVENTS = [
{
"traits": [],
"generated": "2015-01-12T04:03:25.741471",
"message_id": "fb2bef58-88af-4380-8698-e0f18fcf452d",
"event_type": "compute.instance.create.start",
@@ -1044,7 +1043,6 @@ class ShellEventListCommandTest(utils.BaseTestCase):
}],
},
{
"traits": [],
"generated": "2015-01-12T04:03:28.452495",
"message_id": "9b20509a-576b-4995-acfa-1a24ee5cf49f",
"event_type": "compute.instance.create.end",