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

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

        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, "spam", "steps")))

        eq_(r.base_dir, os.path.join(fs.base, "spam"))
dataset/ETHPy150Open behave/behave/test/test_runner.py/TestFeatureDirectory.test_supplied_feature_directory/swapped operands of `in`