Commit a11c8eac authored by Jason R. Coombs's avatar Jason R. Coombs

Alter test so it actually triggers the intended behavior.

parent 43bbaa58
......@@ -300,14 +300,14 @@ class TestMetadata:
with get_dist(tmpdir) as dist:
assert dist.metadata.version == '2016.11.26'
subpack.join('submodule.py').write(
subpack.join('othersub.py').write(
'import third_party_module\n'
'VERSION = (2016, 11, 26)'
)
config.write(
'[metadata]\n'
'version = attr: fake_package.subpackage.submodule.VERSION\n'
'version = attr: fake_package.subpackage.othersub.VERSION\n'
)
with get_dist(tmpdir) as dist:
assert dist.metadata.version == '2016.11.26'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment