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.13022017
  • tests.py
  • aagusti's avatar
    add server · d4f6aa01
    aagusti committed May 14, 2019
    d4f6aa01
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())