예제 #1
0
 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)
예제 #2
0
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)
예제 #3
0
def before_all(context):
    this_directory = os.path.abspath(os.path.dirname(__file__))
    br_app.BehaveRestfulApp().initialize_context(context, this_directory)