File: test_widgets.py

package info (click to toggle)
sprox 0.6.4-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 480 kB
  • ctags: 1,040
  • sloc: python: 3,235; sh: 20; makefile: 6
file content (18 lines) | stat: -rw-r--r-- 426 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from __future__ import absolute_import
from nose.tools import eq_
from sprox.widgets import ContainerWidget
from sprox.test.base import setup_database

def setup():
    setup_database()

class TestContainerWidget:
    def setup(self):
        self.widget = ContainerWidget()

    def test_createObj(self):
        pass

    def test_display(self):
        s = self.widget.render()
        assert 'class="containerwidget"' in s