|
Last change
on this file was
205,
checked in by chervol, 20 years ago
|
|
fixed labels in configlet
|
|
File size:
483 bytes
|
| Line | |
|---|
| 1 | # |
|---|
| 2 | # qPingTool TestCase |
|---|
| 3 | # |
|---|
| 4 | |
|---|
| 5 | import os, sys |
|---|
| 6 | if __name__ == '__main__': |
|---|
| 7 | execfile(os.path.join(sys.path[0], 'framework.py')) |
|---|
| 8 | |
|---|
| 9 | from Testing import ZopeTestCase |
|---|
| 10 | |
|---|
| 11 | ZopeTestCase.installProduct('qPingTool') |
|---|
| 12 | |
|---|
| 13 | class TestSomething(ZopeTestCase.ZopeTestCase): |
|---|
| 14 | |
|---|
| 15 | def afterSetUp(self): |
|---|
| 16 | pass |
|---|
| 17 | |
|---|
| 18 | def test_suite(): |
|---|
| 19 | from unittest import TestSuite, makeSuite |
|---|
| 20 | suite = TestSuite() |
|---|
| 21 | suite.addTest(makeSuite(TestSomething)) |
|---|
| 22 | return suite |
|---|
| 23 | |
|---|
| 24 | if __name__ == '__main__': |
|---|
| 25 | framework() |
|---|
Note: See
TracBrowser
for help on using the repository browser.