fixed instumentation tests. we need to add tests
Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/3309709d Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/3309709d Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/3309709d Branch: refs/heads/ARIA-213-Sporadic-tests-failures-over-locked-database-issue Commit: 3309709d081197186365532b38399c460cf8f630 Parents: 1e798b5 Author: max-orlov <[email protected]> Authored: Wed May 10 19:29:52 2017 +0300 Committer: max-orlov <[email protected]> Committed: Thu May 11 14:28:49 2017 +0300 ---------------------------------------------------------------------- tests/storage/test_instrumentation.py | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/3309709d/tests/storage/test_instrumentation.py ---------------------------------------------------------------------- diff --git a/tests/storage/test_instrumentation.py b/tests/storage/test_instrumentation.py index 673103e..844f9c3 100644 --- a/tests/storage/test_instrumentation.py +++ b/tests/storage/test_instrumentation.py @@ -35,6 +35,7 @@ Value = instrumentation._Value instruments_holder = [] +# TODO: add testing for new instances class TestInstrumentation(object): def test_track_changes(self, storage): @@ -227,6 +228,7 @@ class TestInstrumentation(object): instrumentation.apply_tracked_changes( tracked_changes=instrument.tracked_changes, + new_instances={}, model=storage) instance1_1, instance1_2, instance2_1, instance2_2 = get_instances()
