Last change
on this file since 12302 was
12175,
checked in by Henrik Bettermann, 10 years ago
|
Fill trunk. Components are not yet customized.
|
-
Property svn:keywords set to
Id
|
File size:
560 bytes
|
Rev | Line | |
---|
[12175] | 1 | # Make sure that test setup basically works. |
---|
| 2 | # THIS FILE CAN BE REMOVED. |
---|
| 3 | |
---|
| 4 | from ikobacustom.skeleton.testing import FunctionalTestCase, FunctionalLayer |
---|
| 5 | |
---|
| 6 | class FooTest(FunctionalTestCase): |
---|
| 7 | |
---|
| 8 | layer = FunctionalLayer |
---|
| 9 | |
---|
| 10 | def test_bar(self): |
---|
| 11 | # we can access browser contents |
---|
| 12 | from waeup.ikoba.app import Company |
---|
| 13 | self.getRootFolder()['app'] = Company() |
---|
| 14 | from zope.testbrowser.testing import Browser |
---|
| 15 | br = Browser() |
---|
| 16 | br.open('http://localhost/app/') |
---|
| 17 | self.assertTrue('WAeUP.Ikoba' in br.contents) |
---|
| 18 | return |
---|
Note: See
TracBrowser for help on using the repository browser.