Ignore created_at/updated_at in test_show_port
test_show_port compares dict elements from create_port & show_port.
The POST request in create_resource may retrieve inconsistent time
for created_at/updated_at elements when the actual resource creation
turns the next second to fill database. This patch ignores these two
fields when comparing port dicts from create/show functions.
With this patch test_show_port avoids mismatch errors like this:
created_at: expected 2016-03-23T22:20:42, actual 2016-03-23T22:20:41
updated_at: expected 2016-03-23T22:20:42, actual 2016-03-23T22:20:41
Change-Id: Ic6a17c88cbc394eb970cfcc994de53288305f612
Closes-Bug: #1563885
1 file changed