Skip to content

Commit

Permalink
tests: update snapshots
Browse files Browse the repository at this point in the history
I think all of these are just a reflection of the schema change and the
template change to use TOML multi-line strings.
  • Loading branch information
BurntSushi committed Jun 4, 2024
1 parent c187d92 commit c008c0a
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 71 deletions.
60 changes: 30 additions & 30 deletions tests/__snapshots__/test_build.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
'''example-a-961b4c22''',
]
requires-python = ">=3.8"
description = "This is an example scenario, in which the user depends on a single package `a` which requires `b`."
description = '''This is an example scenario, in which the user depends on a single package `a` which requires `b`.'''

[project.optional-dependencies]

Expand Down Expand Up @@ -58,7 +58,7 @@
'''example-b-961b4c22>1.0.0''',
]
requires-python = ">=3.8"
description = ""
description = ''''''

[project.optional-dependencies]

Expand Down Expand Up @@ -88,7 +88,7 @@
version = "1.0.0"
dependencies = []
requires-python = ">=3.8"
description = ""
description = ''''''

[project.optional-dependencies]

Expand Down Expand Up @@ -118,7 +118,7 @@
version = "2.0.0"
dependencies = []
requires-python = ">=3.8"
description = ""
description = ''''''

[project.optional-dependencies]

Expand Down Expand Up @@ -150,7 +150,7 @@
'''example-c-961b4c22''',
]
requires-python = ">=3.8"
description = ""
description = ''''''

[project.optional-dependencies]

Expand All @@ -159,15 +159,15 @@
__version__ = "3.0.0"

''',
'dist/example-961b4c22/example_961b4c22-0.0.0.tar.gz': 'md5:50500dbebf471373976c812752281082',
'dist/example-961b4c22/example_961b4c22-0.0.0.tar.gz': 'md5:c623a99299b9af5baa182903e5cc23a8',
'dist/example-961b4c22/example_a_961b4c22-1.0.0-py3-none-any.whl': 'md5:b08225196dab082ef56cfd200be09e0c',
'dist/example-961b4c22/example_a_961b4c22-1.0.0.tar.gz': 'md5:d5b206e5473bbc4625cfd2a0635c14ee',
'dist/example-961b4c22/example_a_961b4c22-1.0.0.tar.gz': 'md5:ab066ac0b68cfff19bcc2e8956c365ed',
'dist/example-961b4c22/example_b_961b4c22-1.0.0-py3-none-any.whl': 'md5:d5671062b6263efec113c4a48722e3f8',
'dist/example-961b4c22/example_b_961b4c22-1.0.0.tar.gz': 'md5:1a5b78e5effdddfb166da60f3765542e',
'dist/example-961b4c22/example_b_961b4c22-1.0.0.tar.gz': 'md5:3f028fa3710a02f7c913b2f9d87c0ece',
'dist/example-961b4c22/example_b_961b4c22-2.0.0-py3-none-any.whl': 'md5:1af716031481e9892c3043c65b315688',
'dist/example-961b4c22/example_b_961b4c22-2.0.0.tar.gz': 'md5:d6ef5021da7cd4275188bd8d086d5229',
'dist/example-961b4c22/example_b_961b4c22-2.0.0.tar.gz': 'md5:96c95899375aad77792ffe596c18727b',
'dist/example-961b4c22/example_b_961b4c22-3.0.0-py3-none-any.whl': 'md5:9d6c858ff25fa695b68a09914fd5f0de',
'dist/example-961b4c22/example_b_961b4c22-3.0.0.tar.gz': 'md5:f97684a46574b1d9d4209fb639a5c660',
'dist/example-961b4c22/example_b_961b4c22-3.0.0.tar.gz': 'md5:4f2848a296b07dde840aaa9f317fdf6e',
'tree': '''
test_build_example0
├── build
Expand Down Expand Up @@ -280,7 +280,7 @@
'''b-961b4c22>1.0.0''',
]
requires-python = ">=3.8"
description = ""
description = ''''''

[project.optional-dependencies]

Expand Down Expand Up @@ -310,7 +310,7 @@
version = "1.0.0"
dependencies = []
requires-python = ">=3.8"
description = ""
description = ''''''

[project.optional-dependencies]

Expand Down Expand Up @@ -340,7 +340,7 @@
version = "2.0.0"
dependencies = []
requires-python = ">=3.8"
description = ""
description = ''''''

[project.optional-dependencies]

Expand Down Expand Up @@ -372,7 +372,7 @@
'''c-961b4c22''',
]
requires-python = ">=3.8"
description = ""
description = ''''''

[project.optional-dependencies]

Expand Down Expand Up @@ -404,7 +404,7 @@
'''a-961b4c22''',
]
requires-python = ">=3.8"
description = "This is an example scenario, in which the user depends on a single package `a` which requires `b`."
description = '''This is an example scenario, in which the user depends on a single package `a` which requires `b`.'''

[project.optional-dependencies]

Expand All @@ -414,14 +414,14 @@

''',
'dist/example-961b4c22/a_961b4c22-1.0.0-py3-none-any.whl': 'md5:71835d4655093021b26881ed536d6a3c',
'dist/example-961b4c22/a_961b4c22-1.0.0.tar.gz': 'md5:5e4419947505c407666321769ae37b6f',
'dist/example-961b4c22/a_961b4c22-1.0.0.tar.gz': 'md5:57a584f374e28ec30a4b9e362f952da1',
'dist/example-961b4c22/b_961b4c22-1.0.0-py3-none-any.whl': 'md5:87a6833860657a740cfc3dd6c33ed6c0',
'dist/example-961b4c22/b_961b4c22-1.0.0.tar.gz': 'md5:9ba9d4c05c2cfc71d316a724bcee9941',
'dist/example-961b4c22/b_961b4c22-1.0.0.tar.gz': 'md5:59f339707c0b6b5c2e808aa6093f2201',
'dist/example-961b4c22/b_961b4c22-2.0.0-py3-none-any.whl': 'md5:827509625d3d713b04592c1e81650507',
'dist/example-961b4c22/b_961b4c22-2.0.0.tar.gz': 'md5:3f0d5cc2ca6029de28220d81a67fdcd6',
'dist/example-961b4c22/b_961b4c22-2.0.0.tar.gz': 'md5:dd8d2ac815fdcf988510111146938f9f',
'dist/example-961b4c22/b_961b4c22-3.0.0-py3-none-any.whl': 'md5:03b775c2e2c672d972ab6c9780508b31',
'dist/example-961b4c22/b_961b4c22-3.0.0.tar.gz': 'md5:9319bd71ba7767b4c445e5642af84f41',
'dist/example-961b4c22/example_961b4c22-0.0.0.tar.gz': 'md5:7c52a2c4677494a1f90f5017f85273e4',
'dist/example-961b4c22/b_961b4c22-3.0.0.tar.gz': 'md5:4c85a2580ccfa5815711d2039fa77154',
'dist/example-961b4c22/example_961b4c22-0.0.0.tar.gz': 'md5:3125dd39aeeba6cdf63463ec944242f4',
'tree': '''
test_build_example_short_names0
├── build
Expand Down Expand Up @@ -506,7 +506,7 @@
'''example-a-7661fdb8''',
]
requires-python = ">=3.8"
description = "This is an example scenario, in which the user depends on a single package `a` which requires `b`."
description = '''This is an example scenario, in which the user depends on a single package `a` which requires `b`.'''

[project.optional-dependencies]

Expand Down Expand Up @@ -538,7 +538,7 @@
'''example-b-7661fdb8>1.0.0''',
]
requires-python = ">=3.8"
description = ""
description = ''''''

[project.optional-dependencies]

Expand Down Expand Up @@ -568,7 +568,7 @@
version = "1.0.0"
dependencies = []
requires-python = ">=3.8"
description = ""
description = ''''''

[project.optional-dependencies]

Expand Down Expand Up @@ -598,7 +598,7 @@
version = "2.0.0"
dependencies = []
requires-python = ">=3.8"
description = ""
description = ''''''

[project.optional-dependencies]

Expand Down Expand Up @@ -630,7 +630,7 @@
'''example-c-7661fdb8''',
]
requires-python = ">=3.8"
description = ""
description = ''''''

[project.optional-dependencies]

Expand All @@ -639,15 +639,15 @@
__version__ = "3.0.0"

''',
'dist/example-7661fdb8/example_7661fdb8-0.0.0.tar.gz': 'md5:a7d08c4c6d67ea155e60aa4dca1d4f02',
'dist/example-7661fdb8/example_7661fdb8-0.0.0.tar.gz': 'md5:4b8b390e5fa91da7b8671f7e93447822',
'dist/example-7661fdb8/example_a_7661fdb8-1.0.0-py3-none-any.whl': 'md5:2bffa37b533d8bd7305ef4c35f2e1eaa',
'dist/example-7661fdb8/example_a_7661fdb8-1.0.0.tar.gz': 'md5:72ff3160331e769af9ca18f8e5556521',
'dist/example-7661fdb8/example_a_7661fdb8-1.0.0.tar.gz': 'md5:80562a27c81b04c73469ff4f82a9f432',
'dist/example-7661fdb8/example_b_7661fdb8-1.0.0-py3-none-any.whl': 'md5:e28d01bec9f17c084c41faae02beb5b2',
'dist/example-7661fdb8/example_b_7661fdb8-1.0.0.tar.gz': 'md5:30555584f112a9476b36fa69b588a32b',
'dist/example-7661fdb8/example_b_7661fdb8-1.0.0.tar.gz': 'md5:8fe04976492123c9106367b8063f971c',
'dist/example-7661fdb8/example_b_7661fdb8-2.0.0-py3-none-any.whl': 'md5:0382ed0f92262b84e41d8a172d117484',
'dist/example-7661fdb8/example_b_7661fdb8-2.0.0.tar.gz': 'md5:b87e755e31b565d48830d77ae95ae803',
'dist/example-7661fdb8/example_b_7661fdb8-2.0.0.tar.gz': 'md5:18ed4f0c64291d61616b3a764df46617',
'dist/example-7661fdb8/example_b_7661fdb8-3.0.0-py3-none-any.whl': 'md5:00ec1e77f1d74ba49814a30ac3b92e99',
'dist/example-7661fdb8/example_b_7661fdb8-3.0.0.tar.gz': 'md5:14aa3376162ccb7d9c6bb5156cd8fe10',
'dist/example-7661fdb8/example_b_7661fdb8-3.0.0.tar.gz': 'md5:349072166c002797ac0ab76178695155',
'tree': '''
test_build_example_with_seed0
├── build
Expand Down
14 changes: 7 additions & 7 deletions tests/__snapshots__/test_build_pkg.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
version = "1.0.0"
dependencies = []
requires-python = ">=3.8"
description = ""
description = ''''''

[project.optional-dependencies]

Expand All @@ -34,7 +34,7 @@

''',
'dist/foo/foo-1.0.0-py3-none-any.whl': 'md5:80be08b501ed397bb67c604755b17414',
'dist/foo/foo-1.0.0.tar.gz': 'md5:2d7ae4b5428eac91e982582578e28f01',
'dist/foo/foo-1.0.0.tar.gz': 'md5:43b0be7653be5e7e0c159c5296602032',
'tree': '''
test_build_pkg0
├── build
Expand Down Expand Up @@ -114,7 +114,7 @@
version = "1.0.0"
dependencies = []
requires-python = ">=3.8"
description = ""
description = ''''''

[project.optional-dependencies]

Expand Down Expand Up @@ -191,7 +191,7 @@
version = "1.0.0"
dependencies = []
requires-python = ">=3.8"
description = ""
description = ''''''

[project.optional-dependencies]

Expand All @@ -200,7 +200,7 @@
__version__ = "1.0.0"

''',
'dist/foo/foo-1.0.0.tar.gz': 'md5:2d7ae4b5428eac91e982582578e28f01',
'dist/foo/foo-1.0.0.tar.gz': 'md5:43b0be7653be5e7e0c159c5296602032',
'tree': '''
test_build_pkg_no_wheel0
├── build
Expand Down Expand Up @@ -254,7 +254,7 @@
version = "1.0.0"
dependencies = []
requires-python = ">=3.8"
description = ""
description = ''''''

[project.optional-dependencies]

Expand All @@ -265,7 +265,7 @@
''',
'dist/foo/foo-1.0.0-tag1.whl': 'md5:80be08b501ed397bb67c604755b17414',
'dist/foo/foo-1.0.0-tag2.whl': 'md5:80be08b501ed397bb67c604755b17414',
'dist/foo/foo-1.0.0.tar.gz': 'md5:2d7ae4b5428eac91e982582578e28f01',
'dist/foo/foo-1.0.0.tar.gz': 'md5:43b0be7653be5e7e0c159c5296602032',
'tree': '''
test_build_pkg_wheel_tags0
├── build
Expand Down
12 changes: 8 additions & 4 deletions tests/__snapshots__/test_inspect.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@
"python": null,
"prereleases": false,
"no_build": [],
"no_binary": []
"no_binary": [],
"universal": false
},
"template": "package",
"description": "This is an example scenario, in which the user depends on a single package `a` which requires `b`.",
Expand Down Expand Up @@ -248,7 +249,8 @@
"python": null,
"prereleases": false,
"no_build": [],
"no_binary": []
"no_binary": [],
"universal": false
},
"template": "package",
"description": "This is an example scenario, in which the user depends on a single package `a` which requires `b`.",
Expand Down Expand Up @@ -410,7 +412,8 @@
"python": null,
"prereleases": false,
"no_build": [],
"no_binary": []
"no_binary": [],
"universal": false
},
"template": "package",
"description": "This is an example scenario written in TOML, in which the user depends on a single package `a` which requires `b`.",
Expand Down Expand Up @@ -545,7 +548,8 @@
"python": null,
"prereleases": false,
"no_build": [],
"no_binary": []
"no_binary": [],
"universal": false
},
"template": "package",
"description": "This is an example scenario written in YAML, in which the user depends on a single package `a` which requires `b`.",
Expand Down
Loading

0 comments on commit c008c0a

Please sign in to comment.