|
Revision 404, 382 bytes
(checked in by cliff, 9 months ago)
|
|
tests for standard macros, change flatten_tag into generator in preparation for async support
|
| Line | |
|---|
| 1 | import unittest |
|---|
| 2 | |
|---|
| 3 | def testsuite ( ): |
|---|
| 4 | from breve.tests import tags, templates, tools, macros |
|---|
| 5 | |
|---|
| 6 | suite = unittest.TestSuite ( ) |
|---|
| 7 | suite.addTest ( tags.suite ( ) ) |
|---|
| 8 | suite.addTest ( templates.suite ( ) ) |
|---|
| 9 | suite.addTest ( macros.suite ( ) ) |
|---|
| 10 | suite.addTest ( tools.suite ( ) ) |
|---|
| 11 | |
|---|
| 12 | return suite |
|---|
| 13 | |
|---|
| 14 | if __name__ == '__main__': |
|---|
| 15 | unittest.main ( defaultTest = 'suite' ) |
|---|