Skip to content

Commit

Permalink
Fix direct_deploy test
Browse files Browse the repository at this point in the history
  • Loading branch information
AbrilRBS committed Apr 5, 2023
1 parent 558c243 commit c8aed04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conans/test/functional/command/test_install_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def test_deploy_editable():


def test_deploy_single_package():
""" Lets try a deploy that executes on a single package reference
""" Let's try a deploy that executes on a single package reference
"""
c = TestClient()
c.save({"conanfile.py": GenConanfile("pkg", "1.0").with_package_file("include/hi.h", "hi"),
Expand All @@ -255,10 +255,10 @@ def test_deploy_single_package():

# if we deploy one --requires, we get that package
c.run("install --requires=pkg/1.0 --deploy=direct_deploy --output-folder=output")
header = c.load("output/pkg/include/hi.h")
header = c.load("output/direct_deploy/pkg/include/hi.h")
assert "hi" in header

# If we deploy a local conanfile.txt, we get deployed its direct dependencies
c.run("install consumer/conanfile.txt --deploy=direct_deploy --output-folder=output2")
header = c.load("output2/pkg/include/hi.h")
header = c.load("output2/direct_deploy/pkg/include/hi.h")
assert "hi" in header

0 comments on commit c8aed04

Please sign in to comment.