Skip to content

Commit

Permalink
integration test updates targeted at 4.5.x
Browse files Browse the repository at this point in the history
Signed-off-by: Kale Franz <[email protected]>
  • Loading branch information
kalefranz committed Sep 2, 2018
1 parent 3763429 commit ff28523
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/test_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -745,10 +745,14 @@ def test_remove_features(self):
assert package_is_installed(prefix, 'nomkl')
assert not package_is_installed(prefix, 'mkl')

# A consequence of discontinuing use of the 'features' key and instead
# using direct dependencies is that removing the feature means that
# packages associated with the track_features base package are completely removed
# and not replaced with equivalent non-variant packages as before.
run_command(Commands.REMOVE, prefix, '--features', 'nomkl')
assert package_is_installed(prefix, 'numpy')
# assert package_is_installed(prefix, 'numpy') # removed per above comment
assert not package_is_installed(prefix, 'nomkl')
assert package_is_installed(prefix, 'mkl')
# assert package_is_installed(prefix, 'mkl') # removed per above comment

@pytest.mark.skipif(on_win and context.bits == 32, reason="no 32-bit windows python on conda-forge")
@pytest.mark.skipif(on_win and datetime.now() <= datetime(2018, 10, 1), reason="conda-forge repodata needs vc patching")
Expand Down

0 comments on commit ff28523

Please sign in to comment.