Mercurial > p > roundup > code
comparison test/test_htmltemplate.py @ 1090:9b910e8d987d
removed Log
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 10 Sep 2002 00:19:55 +0000 |
| parents | fdcf16b444a9 |
| children |
comparison
equal
deleted
inserted
replaced
| 1089:43ab730ee194 | 1090:9b910e8d987d |
|---|---|
| 6 # | 6 # |
| 7 # This module is distributed in the hope that it will be useful, | 7 # This module is distributed in the hope that it will be useful, |
| 8 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 8 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | 9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 10 # | 10 # |
| 11 # $Id: test_htmltemplate.py,v 1.20 2002-08-13 20:16:10 gmcm Exp $ | 11 # $Id: test_htmltemplate.py,v 1.21 2002-09-10 00:19:54 richard Exp $ |
| 12 | 12 |
| 13 import unittest, cgi, time, os, shutil | 13 import unittest, cgi, time, os, shutil |
| 14 | 14 |
| 15 from roundup import date, password | 15 from roundup import date, password |
| 16 from roundup.htmltemplate import IndexTemplate, ItemTemplate | 16 from roundup.htmltemplate import IndexTemplate, ItemTemplate |
| 551 #unittest.makeSuite(IndexTemplateCase, 'test'), | 551 #unittest.makeSuite(IndexTemplateCase, 'test'), |
| 552 #unittest.makeSuite(ItemTemplateCase, 'test'), | 552 #unittest.makeSuite(ItemTemplateCase, 'test'), |
| 553 ]) | 553 ]) |
| 554 | 554 |
| 555 | 555 |
| 556 # | |
| 557 # $Log: not supported by cvs2svn $ | |
| 558 # Revision 1.19 2002/07/26 08:27:00 richard | |
| 559 # Very close now. The cgi and mailgw now use the new security API. The two | |
| 560 # templates have been migrated to that setup. Lots of unit tests. Still some | |
| 561 # issue in the web form for editing Roles assigned to users. | |
| 562 # | |
| 563 # Revision 1.18 2002/07/25 07:14:06 richard | |
| 564 # Bugger it. Here's the current shape of the new security implementation. | |
| 565 # Still to do: | |
| 566 # . call the security funcs from cgi and mailgw | |
| 567 # . change shipped templates to include correct initialisation and remove | |
| 568 # the old config vars | |
| 569 # ... that seems like a lot. The bulk of the work has been done though. Honest :) | |
| 570 # | |
| 571 # Revision 1.17 2002/07/18 23:07:07 richard | |
| 572 # Unit tests and a few fixes. | |
| 573 # | |
| 574 # Revision 1.16 2002/07/09 05:20:09 richard | |
| 575 # . added email display function - mangles email addrs so they're not so easily | |
| 576 # scraped from the web | |
| 577 # | |
| 578 # Revision 1.15 2002/07/08 06:39:00 richard | |
| 579 # Fixed unit test support class so the tests ran again. | |
| 580 # | |
| 581 # Revision 1.14 2002/05/15 06:37:31 richard | |
| 582 # ehem and the unit test | |
| 583 # | |
| 584 # Revision 1.13 2002/04/03 05:54:31 richard | |
| 585 # Fixed serialisation problem by moving the serialisation step out of the | |
| 586 # hyperdb.Class (get, set) into the hyperdb.Database. | |
| 587 # | |
| 588 # Also fixed htmltemplate after the showid changes I made yesterday. | |
| 589 # | |
| 590 # Unit tests for all of the above written. | |
| 591 # | |
| 592 # Revision 1.12 2002/03/29 19:41:48 rochecompaan | |
| 593 # . Fixed display of mutlilink properties when using the template | |
| 594 # functions, menu and plain. | |
| 595 # | |
| 596 # Revision 1.11 2002/02/21 23:11:45 richard | |
| 597 # . fixed some problems in date calculations (calendar.py doesn't handle over- | |
| 598 # and under-flow). Also, hour/minute/second intervals may now be more than | |
| 599 # 99 each. | |
| 600 # | |
| 601 # Revision 1.10 2002/02/21 06:57:39 richard | |
| 602 # . Added popup help for classes using the classhelp html template function. | |
| 603 # - add <display call="classhelp('priority', 'id,name,description')"> | |
| 604 # to an item page, and it generates a link to a popup window which displays | |
| 605 # the id, name and description for the priority class. The description | |
| 606 # field won't exist in most installations, but it will be added to the | |
| 607 # default templates. | |
| 608 # | |
| 609 # Revision 1.9 2002/02/15 07:08:45 richard | |
| 610 # . Alternate email addresses are now available for users. See the MIGRATION | |
| 611 # file for info on how to activate the feature. | |
| 612 # | |
| 613 # Revision 1.8 2002/02/06 03:47:16 richard | |
| 614 # . #511586 ] unittest FAIL: testReldate_date | |
| 615 # | |
| 616 # Revision 1.7 2002/01/23 20:09:41 jhermann | |
| 617 # Proper fix for failing test | |
| 618 # | |
| 619 # Revision 1.6 2002/01/23 05:47:57 richard | |
| 620 # more HTML template cleanup and unit tests | |
| 621 # | |
| 622 # Revision 1.5 2002/01/23 05:10:28 richard | |
| 623 # More HTML template cleanup and unit tests. | |
| 624 # - download() now implemented correctly, replacing link(is_download=1) [fixed in the | |
| 625 # templates, but link(is_download=1) will still work for existing templates] | |
| 626 # | |
| 627 # Revision 1.4 2002/01/22 22:46:22 richard | |
| 628 # more htmltemplate cleanups and unit tests | |
| 629 # | |
| 630 # Revision 1.3 2002/01/22 06:35:40 richard | |
| 631 # more htmltemplate tests and cleanup | |
| 632 # | |
| 633 # Revision 1.2 2002/01/22 00:12:07 richard | |
| 634 # Wrote more unit tests for htmltemplate, and while I was at it, I polished | |
| 635 # off the implementation of some of the functions so they behave sanely. | |
| 636 # | |
| 637 # Revision 1.1 2002/01/21 11:05:48 richard | |
| 638 # New tests for htmltemplate (well, it's a beginning) | |
| 639 # | |
| 640 # | |
| 641 # | |
| 642 # vim: set filetype=python ts=4 sw=4 et si | 556 # vim: set filetype=python ts=4 sw=4 et si |
