mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Remove unicode things
This commit is contained in:
parent
8474006dab
commit
50a860b839
@ -45,7 +45,7 @@ class FibreChannelGrainsTestCase(TestCase):
|
|||||||
|
|
||||||
files = ['file1', 'file2']
|
files = ['file1', 'file2']
|
||||||
with patch('glob.glob', MagicMock(return_value=files)):
|
with patch('glob.glob', MagicMock(return_value=files)):
|
||||||
with patch('salt.utils.files.fopen', multi_mock_open(u'0x500143802426baf4', u'0x500143802426baf5')):
|
with patch('salt.utils.files.fopen', multi_mock_open('0x500143802426baf4', '0x500143802426baf5')):
|
||||||
ret = fibre_channel._linux_wwns()
|
ret = fibre_channel._linux_wwns()
|
||||||
|
|
||||||
self.assertEqual(ret, ['500143802426baf4', '500143802426baf5'])
|
self.assertEqual(ret, ['500143802426baf4', '500143802426baf5'])
|
||||||
|
Loading…
Reference in New Issue
Block a user