diff options
| author | Tom Christie | 2011-05-13 17:19:12 +0100 |
|---|---|---|
| committer | Tom Christie | 2011-05-13 17:19:12 +0100 |
| commit | 325e63a3a767bf4aedef7be616cc268a08537424 (patch) | |
| tree | df9bb4f81a569df85ef2d0dd5dfd4f111e633522 /djangorestframework/tests | |
| parent | 8f6bcac7f3f156831343cc7fec79f624dcc2639f (diff) | |
| download | django-rest-framework-325e63a3a767bf4aedef7be616cc268a08537424.tar.bz2 | |
Sorting out resources. Doing some crazy magic automatic url resolving stuff. Yum.
Diffstat (limited to 'djangorestframework/tests')
| -rw-r--r-- | djangorestframework/tests/resources.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/tests/resources.py b/djangorestframework/tests/resources.py index 6aa569d3..fd1226be 100644 --- a/djangorestframework/tests/resources.py +++ b/djangorestframework/tests/resources.py @@ -11,7 +11,7 @@ class TestObjectToData(TestCase): def test_decimal(self): """Decimals need to be converted to a string representation.""" self.assertEquals(_object_to_data(decimal.Decimal('1.5')), '1.5') - + def test_function(self): """Functions with no arguments should be called.""" def foo(): |
