def test_supplied_root_directory(self):
        config = create_mock_config()
        config.paths = ["features"]
        config.verbose = True
        r = runner.Runner(config)

        fs = FsMock(
            "features/",
            "features/group1/",
            "features/group1/foo.feature",
            "features/steps/",
        )

        with patch("os.path", fs):
            with patch("os.walk", fs.walk):
                with r.path_manager:
                    r.setup_paths()

        ok_(fs.calls in ("isdir", os.path.join(fs.base, "features", "steps")))
        eq_(r.base_dir, os.path.join(fs.base, "features"))
dataset/ETHPy150Open behave/behave/test/test_runner.py/TestFeatureDirectoryLayout2.test_supplied_root_directory/swapped operands of `in`