Skip to content

Commit

Permalink
Fix snapshot
Browse files Browse the repository at this point in the history
Number of calls went from 1 method call with 3 list items to 3 method calls with 1 list item each.
  • Loading branch information
john-kurkowski committed Oct 31, 2023
1 parent 22a9f06 commit 5d5424e
Showing 1 changed file with 182 additions and 0 deletions.
182 changes: 182 additions & 0 deletions tests/__snapshots__/test_render.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -1246,10 +1246,192 @@
_Call(
'',
tuple(
ClientSession(
ATTRS=frozenset({
'_auto_decompress',
'_base_url',
'_connector',
'_connector_owner',
'_cookie_jar',
'_default_auth',
'_default_headers',
'_json_serialize',
'_loop',
'_raise_for_status',
'_read_bufsize',
'_request_class',
'_requote_redirect_url',
'_response_class',
'_skip_auto_headers',
'_source_traceback',
'_timeout',
'_trace_configs',
'_trust_env',
'_version',
'_ws_response_class',
'requote_redirect_url',
}),
auth=None,
auto_decompress=True,
closed=True,
connector=None,
connector_owner=True,
cookie_jar=CookieJar(
DATE_DAY_OF_MONTH_RE=re.compile('(\\d{1,2})'),
DATE_HMS_TIME_RE=re.compile('(\\d{1,2}):(\\d{1,2}):(\\d{1,2})'),
DATE_MONTH_RE=re.compile('(jan)|(feb)|(mar)|(apr)|(may)|(jun)|(jul)|(aug)|(sep)|(oct)|(nov)|(dec)', re.IGNORECASE),
DATE_TOKENS_RE=re.compile('[\\x09\\x20-\\x2F\\x3B-\\x40\\x5B-\\x60\\x7B-\\x7E]*(?P<token>[\\x00-\\x08\\x0A-\\x1F\\d:a-zA-Z\\x7F-\\xFF]+)'),
DATE_YEAR_RE=re.compile('(\\d{2,4})'),
MAX_32BIT_TIME=datetime.datetime(2038, 1, 19, 3, 14, 7),
MAX_TIME=datetime.datetime(9999, 12, 31, 23, 59, 59, 999999, tzinfo=datetime.timezone.utc),
),
headers=<CIMultiDict()>,
loop=<_UnixSelectorEventLoop running=False closed=True debug=False>,
raise_for_status=False,
requote_redirect_url=True,
skip_auto_headers=frozenset({
}),
timeout=ClientTimeout(total=300, connect=None, sock_read=None, sock_connect=None),
trace_configs=list([
]),
trust_env=False,
version=HttpVersion(
major=1,
minor=1,
),
),
'stub-fake-token',
list([
'TMP_PATH_HERE/Stub Song Title.wav',
]),
),
dict({
}),
),
_Call(
'',
tuple(
ClientSession(
ATTRS=frozenset({
'_auto_decompress',
'_base_url',
'_connector',
'_connector_owner',
'_cookie_jar',
'_default_auth',
'_default_headers',
'_json_serialize',
'_loop',
'_raise_for_status',
'_read_bufsize',
'_request_class',
'_requote_redirect_url',
'_response_class',
'_skip_auto_headers',
'_source_traceback',
'_timeout',
'_trace_configs',
'_trust_env',
'_version',
'_ws_response_class',
'requote_redirect_url',
}),
auth=None,
auto_decompress=True,
closed=True,
connector=None,
connector_owner=True,
cookie_jar=CookieJar(
DATE_DAY_OF_MONTH_RE=re.compile('(\\d{1,2})'),
DATE_HMS_TIME_RE=re.compile('(\\d{1,2}):(\\d{1,2}):(\\d{1,2})'),
DATE_MONTH_RE=re.compile('(jan)|(feb)|(mar)|(apr)|(may)|(jun)|(jul)|(aug)|(sep)|(oct)|(nov)|(dec)', re.IGNORECASE),
DATE_TOKENS_RE=re.compile('[\\x09\\x20-\\x2F\\x3B-\\x40\\x5B-\\x60\\x7B-\\x7E]*(?P<token>[\\x00-\\x08\\x0A-\\x1F\\d:a-zA-Z\\x7F-\\xFF]+)'),
DATE_YEAR_RE=re.compile('(\\d{2,4})'),
MAX_32BIT_TIME=datetime.datetime(2038, 1, 19, 3, 14, 7),
MAX_TIME=datetime.datetime(9999, 12, 31, 23, 59, 59, 999999, tzinfo=datetime.timezone.utc),
),
headers=<CIMultiDict()>,
loop=<_UnixSelectorEventLoop running=False closed=True debug=False>,
raise_for_status=False,
requote_redirect_url=True,
skip_auto_headers=frozenset({
}),
timeout=ClientTimeout(total=300, connect=None, sock_read=None, sock_connect=None),
trace_configs=list([
]),
trust_env=False,
version=HttpVersion(
major=1,
minor=1,
),
),
'stub-fake-token',
list([
'TMP_PATH_HERE/Stub Song Title (Instrumental).wav',
]),
),
dict({
}),
),
_Call(
'',
tuple(
ClientSession(
ATTRS=frozenset({
'_auto_decompress',
'_base_url',
'_connector',
'_connector_owner',
'_cookie_jar',
'_default_auth',
'_default_headers',
'_json_serialize',
'_loop',
'_raise_for_status',
'_read_bufsize',
'_request_class',
'_requote_redirect_url',
'_response_class',
'_skip_auto_headers',
'_source_traceback',
'_timeout',
'_trace_configs',
'_trust_env',
'_version',
'_ws_response_class',
'requote_redirect_url',
}),
auth=None,
auto_decompress=True,
closed=True,
connector=None,
connector_owner=True,
cookie_jar=CookieJar(
DATE_DAY_OF_MONTH_RE=re.compile('(\\d{1,2})'),
DATE_HMS_TIME_RE=re.compile('(\\d{1,2}):(\\d{1,2}):(\\d{1,2})'),
DATE_MONTH_RE=re.compile('(jan)|(feb)|(mar)|(apr)|(may)|(jun)|(jul)|(aug)|(sep)|(oct)|(nov)|(dec)', re.IGNORECASE),
DATE_TOKENS_RE=re.compile('[\\x09\\x20-\\x2F\\x3B-\\x40\\x5B-\\x60\\x7B-\\x7E]*(?P<token>[\\x00-\\x08\\x0A-\\x1F\\d:a-zA-Z\\x7F-\\xFF]+)'),
DATE_YEAR_RE=re.compile('(\\d{2,4})'),
MAX_32BIT_TIME=datetime.datetime(2038, 1, 19, 3, 14, 7),
MAX_TIME=datetime.datetime(9999, 12, 31, 23, 59, 59, 999999, tzinfo=datetime.timezone.utc),
),
headers=<CIMultiDict()>,
loop=<_UnixSelectorEventLoop running=False closed=True debug=False>,
raise_for_status=False,
requote_redirect_url=True,
skip_auto_headers=frozenset({
}),
timeout=ClientTimeout(total=300, connect=None, sock_read=None, sock_connect=None),
trace_configs=list([
]),
trust_env=False,
version=HttpVersion(
major=1,
minor=1,
),
),
'stub-fake-token',
list([
'TMP_PATH_HERE/Stub Song Title (A Cappella).wav',
]),
),
Expand Down

0 comments on commit 5d5424e

Please sign in to comment.