Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

Taufik Yulianto / esipkd

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • esipkd
  • esipkd_ori_26012017
  • tests.py
  • aagusti's avatar
    recaptcha · 9f75dc97
    aagusti committed Jan 31, 2017
    9f75dc97
tests.py 339 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
import unittest
import transaction

from pyramid import testing

from .models import DBSession

 
class ViewLoginTest(unittest.TestCase):
    def test_view_login(self):
        from .views import view_login    
        request = testing.DummyRequest()
        result = view_login(request)
        self.assertTrue('form' in result.keys())