datatracker/ietf/utils
Henrik Levkowetz a07f47a4a0 Added a new TestCase class, subclassing django.test.TestCase, in order to
be able to add fixtures once and for all for all tests, instead of loading
them again and again for each test, if running on a database that supports
transaction rollbacks.  In this case, fixtures specified in the perma_fixtures
class attribute will be loaded permanently, and not re-loaded.  Fixtures
specifice as before, in a fixtures class attribute, will be treated as
before.

The downside of this is that as fixtures are loaded and not unloaded, they
can conflict with each other.  The requirements on consistency becomes much
greater.  The effect of this has been to require quite a bit of changes to
the simplified creations of various objects in make_test_data() in cases
where identically named objects occur in fixtures.  Where completely
fictitious objects are created, no conflicts appear.

Also re-wrote parts of test_runner.py to permit global fixtures, loaded
before any tests are run and shared by all.
 - Legacy-Id: 6318
2013-09-30 20:22:24 +00:00
..
management Imported a newer version of makefixture from github. It handles reverse relationships in a less hackish way than my hack. 2013-09-30 14:24:14 +00:00
.gitignore * Moved utility functions into utils/ directory, and started breaking out 2007-05-11 15:48:45 +00:00
__init__.py Added a new TestCase class, subclassing django.test.TestCase, in order to 2013-09-30 20:22:24 +00:00
admin.py Provide a utility function admin_link() for use in admin list pages. 2011-02-02 15:21:32 +00:00
aliases.py Merged [5902],[5904] from markus.stenberg@iki.fi: 2013-08-01 12:44:49 +00:00
broken_foreign_key.py Merged from log:branch/2.00@2363: Current release branch head to trunk. 2010-07-21 12:48:05 +00:00
cache_foreign_key.py Merged from log:branch/2.00@2363: Current release branch head to trunk. 2010-07-21 12:48:05 +00:00
cached_lookup_field.py Merged from log:branch/2.00@2363: Current release branch head to trunk. 2010-07-21 12:48:05 +00:00
draft.py Added variations on the recognized date formats during submitted draft parsing, such that comma need not be followed by whitespace in the formats using comma as a separator between some of the fields. Added extraction of drafts referenced by a document, in addition to RFCs referenced. 2013-02-24 20:17:22 +00:00
draft_search.py Merged r840 from branch/2.00 to trunk, and updated version information in ietf/__init__.py 2007-07-04 21:17:57 +00:00
fields.py Refactor mange group views: 2012-11-22 10:46:39 +00:00
history.py Fix comment 2012-07-02 18:10:41 +00:00
html.py Merged from log:branch/2.00@2363: Current release branch head to trunk. 2010-07-21 12:48:05 +00:00
lazy.py Merged [2948] from bmheight@gmail.com: 2011-03-26 14:36:10 +00:00
log.py Tweaked the handling of the syslog module not being available on windows. 2012-11-07 21:41:02 +00:00
mail.py Add Auto-Submitted and Precedence header fields to outgoing email messages. 2013-08-17 15:33:56 +00:00
markup_txt.py Move markup_txt.py from idrfc/ to utils/ 2013-08-13 14:33:22 +00:00
models.py Empty models.py, needed to make django look for management/commands/. 2013-09-29 21:15:06 +00:00
path.py Added a script to create NewRevisionDocEvent entries for charter files. 2012-09-19 19:50:37 +00:00
pipe.py Utility function to execute external functions. 2010-11-06 05:24:02 +00:00
proxy.py Move new schema models from redesign/ to ietf/ 2012-01-24 17:17:24 +00:00
serialize.py Dump redacted events in DeletedEvent table 2012-11-07 14:59:17 +00:00
test_data.py Added a new TestCase class, subclassing django.test.TestCase, in order to 2013-09-30 20:22:24 +00:00
test_runner.py Added a new TestCase class, subclassing django.test.TestCase, in order to 2013-09-30 20:22:24 +00:00
test_utils.py Added a new TestCase class, subclassing django.test.TestCase, in order to 2013-09-30 20:22:24 +00:00
textupload.py Made the code which uses the 'magic' module to determine file type and encoding work with both the old and new interface to python-magic. 2013-07-25 14:45:01 +00:00
timezone.py Add time zone helpers for converting between local IETF db time and UTC 2012-09-17 15:51:33 +00:00
unaccent.py Move unaccent helpers 2011-09-16 11:32:33 +00:00