def setUp(self): self.test_dir = '/a/path' self.context = ContextDouble() self.app = br_app.BehaveRestfulApp() self.app.initialize_context(self.context, self.test_dir)
def before_all(context): this_directory = os.path.abspath(os.path.dirname(__file__)) br_app.BehaveRestfulApp().initialize_context(context, this_directory) context.hooks.invoke(br_app.BEFORE_ALL, context)
def before_all(context): this_directory = os.path.abspath(os.path.dirname(__file__)) br_app.BehaveRestfulApp().initialize_context(context, this_directory)