File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1604,25 +1604,23 @@ def test_python_system_packages_check_default(self):
1604
1604
build .validate ()
1605
1605
assert build .python .use_system_site_packages is False
1606
1606
1607
- def test_python_system_packages_respects_default (self ):
1607
+ def test_python_system_packages_dont_respects_default (self ):
1608
1608
build = self .get_build_config (
1609
1609
{},
1610
1610
{'defaults' : {'use_system_packages' : True }},
1611
1611
)
1612
1612
build .validate ()
1613
- assert build .python .use_system_site_packages is True
1613
+ assert build .python .use_system_site_packages is False
1614
1614
1615
1615
def test_python_system_packages_priority_over_default (self ):
1616
1616
build = self .get_build_config (
1617
1617
{'python' : {'system_packages' : False }},
1618
- {'defaults' : {'use_system_packages' : True }},
1619
1618
)
1620
1619
build .validate ()
1621
1620
assert build .python .use_system_site_packages is False
1622
1621
1623
1622
build = self .get_build_config (
1624
1623
{'python' : {'system_packages' : True }},
1625
- {'defaults' : {'use_system_packages' : False }},
1626
1624
)
1627
1625
build .validate ()
1628
1626
assert build .python .use_system_site_packages is True
You can’t perform that action at this time.
0 commit comments