Projects STRLCPY maigret Commits 78e9688e
🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■
    tests/test_maigret.py
    1 1  """Maigret main module test functions"""
    2 2  import asyncio
     3 +import copy
    3 4   
    4 5  import pytest
    5 6  from mock import Mock
    skipped 138 lines
    144 145   
    145 146   
    146 147  def test_extract_ids_from_results(test_db):
    147  - TEST_EXAMPLE = dict(RESULTS_EXAMPLE)
     148 + TEST_EXAMPLE = copy.deepcopy(RESULTS_EXAMPLE)
    148 149   TEST_EXAMPLE['Reddit']['ids_usernames'] = {'test1': 'yandex_public_id'}
    149 150   TEST_EXAMPLE['Reddit']['ids_links'] = ['https://www.reddit.com/user/test2']
    150 151   
    skipped 3 lines
Please wait...
Page is in error, reload to recover