Remove skip check for Python 3.6
... because python 3.6 is no longer supported. Change-Id: I382b315d59b1f77c44dc2372d26a957b8d1b510f
This commit is contained in:
parent
acf1c7d43e
commit
40e1003878
@ -17,7 +17,6 @@ import datetime
|
|||||||
from http import client as http_client
|
from http import client as http_client
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
import sys
|
|
||||||
import tempfile
|
import tempfile
|
||||||
from unittest import mock
|
from unittest import mock
|
||||||
from urllib import parse as urlparse
|
from urllib import parse as urlparse
|
||||||
@ -151,10 +150,6 @@ class TestListNodes(test_api_base.BaseApiTest):
|
|||||||
@mock.patch.object(policy, 'check_policy', autospec=True)
|
@mock.patch.object(policy, 'check_policy', autospec=True)
|
||||||
def test_one_field_specific_santization(self, mock_check_policy,
|
def test_one_field_specific_santization(self, mock_check_policy,
|
||||||
mock_check):
|
mock_check):
|
||||||
py_ver = sys.version_info
|
|
||||||
if py_ver.major == 3 and py_ver.minor == 6:
|
|
||||||
self.skipTest('Test fails to work on python 3.6 when '
|
|
||||||
'matching mock.ANY.')
|
|
||||||
obj_utils.create_test_node(self.context,
|
obj_utils.create_test_node(self.context,
|
||||||
chassis_id=self.chassis.id,
|
chassis_id=self.chassis.id,
|
||||||
last_error='meow')
|
last_error='meow')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user