File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 36
36
Takes advantage of the base tox job's install-siblings feature.
37
37
# The job only tests the latest and shouldn't be run on the stable branches
38
38
branches : ^master$
39
+ # TODO(tkajinam): Make this voting once oslo.utils is bumped to 6.3.0
40
+ voting : false
39
41
required-projects :
40
42
- name : github.com/sqlalchemy/sqlalchemy
41
43
override-checkout : main
Original file line number Diff line number Diff line change @@ -1040,6 +1040,7 @@ def test_serialize_args_non_nova_exception(self):
1040
1040
class TestRegistry (test .NoDBTestCase ):
1041
1041
@mock .patch ('nova.objects.base.objects' )
1042
1042
def test_hook_chooses_newer_properly (self , mock_objects ):
1043
+ del mock_objects .MyObj
1043
1044
reg = base .NovaObjectRegistry ()
1044
1045
reg .registration_hook (MyObj , 0 )
1045
1046
@@ -1056,6 +1057,7 @@ def obj_name(cls):
1056
1057
1057
1058
@mock .patch ('nova.objects.base.objects' )
1058
1059
def test_hook_keeps_newer_properly (self , mock_objects ):
1060
+ del mock_objects .MyObj
1059
1061
reg = base .NovaObjectRegistry ()
1060
1062
reg .registration_hook (MyObj , 0 )
1061
1063
You can’t perform that action at this time.
0 commit comments