Skip to content

Commit

Permalink
I'd like to see some of these tests refactored.
Browse files Browse the repository at this point in the history
  • Loading branch information
miracle2k committed Aug 2, 2010
1 parent 2c451be commit e3b01c7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/test_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@
TemplateSyntaxError as DjangoTemplateSyntaxError


# TODO: It would be preferrable to split these tests into those checks
# which actually test the Library object, and those which test the assembly
# of the Environment instance. Testcode for the former could be written more
# cleanly by creating the library instances within the test code and
# registering them manually with the environment, rather than having to
# place them in fake Django apps in completely different files to have
# them loaded.


def test_nodes_and_extensions():
"""Test availability of registered nodes/extensions.
"""
Expand Down

0 comments on commit e3b01c7

Please sign in to comment.