Пример #1
0
class SessionScopeTest(AgiloTestCase):
    
    def setUp(self):
        self.super()
        req = self.teh.mock_request()
        self.session_scope = SessionScope(req)
    
    def test_can_set_sprint(self):
        self.assert_none(self.session_scope.sprint_name())
        self.session_scope.set_sprint_name('fnord')
        self.assert_equals('fnord', self.session_scope.sprint_name())
Пример #2
0
 def setUp(self):
     self.super()
     req = self.teh.mock_request()
     self.session_scope = SessionScope(req)