Module Import alias ImportFrom alias Import alias ImportFrom alias alias ImportFrom alias Assign NameStore Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Dict Str Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Dict Str Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Dict Str Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list decorator_list
N/A N/A unittest conans.test.tools TestClient N/A os conans.model.ref PackageReference ConanFileReference conans.util.files load N/A base_conanfile 
from conans import ConanFile

class TestSystemReqs(ConanFile):
    name = "Test"
    version = "0.1"
    options = {"myopt": [True, False]}
    default_options = "myopt=True"

    def system_requirements(self):
        self.output.info("*+Running system requirements+*")
        %GLOBAL%
        return "Installed my stuff"
 SystemReqsTest N/A N/A unittest TestCase N/A per_package_test N/A N/A self N/A N/A N/A client N/A TestClient N/A files N/A conanfile.py N/A N/A base_conanfile replace %GLOBAL% N/A N/A N/A client save files N/A N/A N/A client run export user/testing N/A N/A N/A client run install Test/0.1@user/testing --build missing N/A N/A N/A self assertIn *+Running system requirements+* N/A N/A client user_io out N/A conan_ref N/A N/A ConanFileReference loads Test/0.1@user/testing N/A N/A N/A self assertFalse N/A N/A N/A os path exists N/A N/A N/A client paths system_reqs conan_ref N/A package_ref N/A PackageReference conan_ref f0ba3ca2c218df4a877080ba99b65834b9413798 N/A load_file N/A load N/A N/A N/A client paths system_reqs_package package_ref N/A N/A N/A self assertIn Installed my stuff load_file N/A N/A N/A client run install Test/0.1@user/testing --build missing N/A N/A N/A self assertNotIn *+Running system requirements+* N/A N/A client user_io out N/A N/A N/A self assertFalse N/A N/A N/A os path exists N/A N/A N/A client paths system_reqs conan_ref N/A load_file N/A load N/A N/A N/A client paths system_reqs_package package_ref N/A N/A N/A self assertIn Installed my stuff load_file N/A N/A N/A client run install Test/0.1@user/testing -o myopt=False --build missing N/A N/A N/A self assertIn *+Running system requirements+* N/A N/A client user_io out N/A N/A N/A self assertFalse N/A N/A N/A os path exists N/A N/A N/A client paths system_reqs conan_ref N/A package_ref2 N/A PackageReference conan_ref 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 N/A load_file N/A load N/A N/A N/A client paths system_reqs_package package_ref2 N/A N/A N/A self assertIn Installed my stuff load_file N/A N/A N/A client run remove Test* -f -p 544 ignore_error True N/A N/A N/A self assertTrue N/A N/A N/A os path exists N/A N/A N/A client paths system_reqs_package package_ref N/A N/A N/A client run remove Test* -f -p f0ba3ca2c218df4a877080ba99b65834b9413798 N/A N/A N/A self assertFalse N/A N/A N/A os path exists N/A N/A N/A client paths system_reqs_package package_ref N/A N/A N/A self assertTrue N/A N/A N/A os path exists N/A N/A N/A client paths system_reqs_package package_ref2 N/A N/A N/A client run remove Test* -f -p 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 N/A N/A N/A self assertFalse N/A N/A N/A os path exists N/A N/A N/A client paths system_reqs_package package_ref N/A N/A N/A self assertFalse N/A N/A N/A os path exists N/A N/A N/A client paths system_reqs_package package_ref2 N/A global_test N/A N/A self N/A N/A N/A client N/A TestClient N/A files N/A conanfile.py N/A N/A base_conanfile replace %GLOBAL% self.global_system_requirements=True N/A N/A N/A client save files N/A N/A N/A client run export user/testing N/A N/A N/A client run install Test/0.1@user/testing --build missing N/A N/A N/A self assertIn *+Running system requirements+* N/A N/A client user_io out N/A conan_ref N/A N/A ConanFileReference loads Test/0.1@user/testing N/A package_ref N/A PackageReference conan_ref a527106fd9f2e3738a55b02087c20c0a63afce9d N/A N/A N/A self assertFalse N/A N/A N/A os path exists N/A N/A N/A client paths system_reqs_package package_ref N/A load_file N/A load N/A N/A N/A client paths system_reqs conan_ref N/A N/A N/A self assertIn Installed my stuff load_file N/A N/A N/A client run install Test/0.1@user/testing --build missing N/A N/A N/A self assertNotIn *+Running system requirements+* N/A N/A client user_io out N/A N/A N/A self assertFalse N/A N/A N/A os path exists N/A N/A N/A client paths system_reqs_package package_ref N/A load_file N/A load N/A N/A N/A client paths system_reqs conan_ref N/A N/A N/A self assertIn Installed my stuff load_file N/A N/A N/A client run install Test/0.1@user/testing -o myopt=False --build missing N/A N/A N/A self assertNotIn *+Running system requirements+* N/A N/A client user_io out N/A package_ref2 N/A PackageReference conan_ref 54c9626b48cefa3b819e64316b49d3b1e1a78c26 N/A N/A N/A self assertFalse N/A N/A N/A os path exists N/A N/A N/A client paths system_reqs_package package_ref N/A N/A N/A self assertFalse N/A N/A N/A os path exists N/A N/A N/A client paths system_reqs_package package_ref2 N/A load_file N/A load N/A N/A N/A client paths system_reqs conan_ref N/A N/A N/A self assertIn Installed my stuff load_file N/A N/A N/A client run remove Test* -f -p N/A N/A N/A self assertFalse N/A N/A N/A os path exists N/A N/A N/A client paths system_reqs_package package_ref N/A N/A N/A self assertFalse N/A N/A N/A os path exists N/A N/A N/A client paths system_reqs_package package_ref2 N/A N/A N/A self assertFalse N/A N/A N/A os path exists N/A N/A N/A client paths system_reqs conan_ref N/A wrong_output_test N/A N/A self N/A N/A N/A client N/A TestClient N/A files N/A conanfile.py N/A N/A N/A N/A base_conanfile replace %GLOBAL% replace "Installed my stuff" None N/A N/A N/A client save files N/A N/A N/A client run export user/testing N/A N/A N/A client run install Test/0.1@user/testing --build missing N/A N/A N/A self assertIn *+Running system requirements+* N/A N/A client user_io out N/A conan_ref N/A N/A ConanFileReference loads Test/0.1@user/testing N/A N/A N/A self assertFalse N/A N/A N/A os path exists N/A N/A N/A client paths system_reqs conan_ref N/A package_ref N/A PackageReference conan_ref f0ba3ca2c218df4a877080ba99b65834b9413798 N/A load_file N/A load N/A N/A N/A client paths system_reqs_package package_ref N/A N/A N/A self assertEqual load_file N/A N/A