fixed test
This commit is contained in:
parent
9a488887f5
commit
7313f7cf73
|
@ -115,13 +115,11 @@ def test_snapshot_update_timefield_updated(user: UserClient):
|
||||||
RateComputer.t),
|
RateComputer.t),
|
||||||
perform_second_snapshot=False)
|
perform_second_snapshot=False)
|
||||||
computer2 = file('2-second-device-with-components-of-first.snapshot')
|
computer2 = file('2-second-device-with-components-of-first.snapshot')
|
||||||
pc1_id = snapshot['device']['id']
|
|
||||||
pc1, _ = user.get(res=m.Device, item=pc1_id)
|
|
||||||
snapshot_and_check(user, computer2, action_types=('Remove', 'RateComputer'),
|
snapshot_and_check(user, computer2, action_types=('Remove', 'RateComputer'),
|
||||||
perform_second_snapshot=False)
|
perform_second_snapshot=False)
|
||||||
pc1_id = snapshot['device']['id']
|
pc1_id = snapshot['device']['id']
|
||||||
pc1, _ = user.get(res=m.Device, item=pc1_id)
|
pc1, _ = user.get(res=m.Device, item=pc1_id)
|
||||||
assert pc1['updated'] != snapshot['updated']
|
assert pc1['updated'] != snapshot['device']['updated']
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.mvp
|
@pytest.mark.mvp
|
||||||
|
|
Reference in New Issue