Beispiel #1
0
 def setUp(self):
     database.set_metadata(__metadata__, 'sqlite:///:memory:', False, {})
     helpers.setup_db(__metadata__)
     helpers.set_context(helpers.create_user())
     self.board = board = helpers.create_board()
     self.column = column = board.create_column(1, u'test')
     self.card = column.create_card(u'test')
     self.extension = self.create_instance(self.card, DummyActionLog(), board)
Beispiel #2
0
 def setUp(self):
     database.set_metadata(__metadata__, 'sqlite:///:memory:', False, {})
     helpers.setup_db(__metadata__)
     helpers.set_context(helpers.create_user())
     self.board = board = helpers.create_board()
     self.column = column = board.create_column(1, u'test')
     self.card = column.create_card(u'test')
     self.extension = self.create_instance(self.card, DummyActionLog(),
                                           board)
Beispiel #3
0
 def setUp(self):
     database.set_metadata(__metadata__, 'sqlite:///:memory:', False, {})
     helpers.setup_db(__metadata__)
     helpers.set_context(helpers.create_user())
     extensions = [(self.extension_name, self.extension_class)] if self.extension_name else []
     self.board = board = helpers.create_board(extensions)
     self.column = column = board.create_column(1, u'test')
     self.card = column.create_card(u'test')
     self.extension = dict(self.card.extensions)[self.extension_name]() if self.extension_name else None
Beispiel #4
0
 def setUp(self):
     database.set_metadata(__metadata__, 'sqlite:///:memory:', False, {})
     helpers.setup_db(__metadata__)
     helpers.set_context(helpers.create_user())
     extensions = [(self.extension_name,
                    self.extension_class)] if self.extension_name else []
     self.board = board = helpers.create_board(extensions)
     self.column = column = board.create_column(1, u'test')
     self.card = column.create_card(u'test')
     self.extension = dict(self.card.extensions)[
         self.extension_name]() if self.extension_name else None
Beispiel #5
0
 def setUp(self):
     helpers.setup_db(__metadata__)
     self.boards_manager = helpers.get_boards_manager()
Beispiel #6
0
 def setUp(self):
     helpers.setup_db(__metadata__)
     services = helpers.create_services()
     self.boards_manager = boardsmanager.BoardsManager(
         '', '', '', {}, None, services)
Beispiel #7
0
 def setUp(self):
     helpers.setup_db(__metadata__)
     self.boards_manager = helpers.get_boards_manager()
Beispiel #8
0
 def setUp(self):
     helpers.setup_db(__metadata__)
     services = helpers.create_services()
     self.boards_manager = boardsmanager.BoardsManager('', '', '', {}, None, services)
Beispiel #9
0
 def setUp(self):
     helpers.setup_db(__metadata__)
     self.token_generator = forms.TokenGenerator(u'test_username',
                                                 u'reset_password')