А что это значит, у меня получается неправильное сравнивание или в коде не так?
[{'cost': '13.000 сом',
'title': 'Мобильный Телефон Xiaomi Redmi Note 8 (6+128Gb) Global IND'},
{'cost': '15.800 сом',
'title': 'Мобильный Телефон Xiaomi Redmi Note 8 PRO (6+128Gb) Global IND'},
{'cost': '10.300 сом',
'title': 'Мобильный Телефон Xiaomi Redmi Note 8 (3+32Gb) EU'},
{'cost': '12.900 сом',
'title': 'Мобильный Телефон Xiaomi Redmi Note 8 (4+128Gb) EU'},
{'cost': '15.900 сом',
'title': 'Мобильный Телефон Xiaomi Redmi Note 8 PRO (6+128Gb) Global EU'},
{'cost': '15.400 сом',
'title': 'Мобильный Телефон Xiaomi Redmi Note 8 PRO (6+64Gb) EU'},
{'cost': '11.700 сом',
'title': 'Мобильный Телефон Xiaomi Redmi Note 8 (4+64Gb) EU'}] != None
<Click to see difference>
Traceback (most recent call last):
File "/snap/pycharm-community/179/plugins/python-ce/helpers/pycharm/teamcity/diff_tools.py", line 32, in _patched_equals
old(self, first, second, msg)
File "/usr/lib/python3.6/unittest/case.py", line 829, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/lib/python3.6/unittest/case.py", line 822, in _baseAssertEqual
raise self.failureException(msg)
AssertionError: None != [{'cost': '13.000 сом', 'title': 'Мобильн[595 chars]EU'}]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/lib/python3.6/unittest/case.py", line 605, in run
testMethod()
File "/home/rahat/projects/products-aggregator/gadgetkg/transform_test.py", line 26, in test_data_products
self.assertEqual(product_details, expection_product_details)