summaryrefslogtreecommitdiffstats
path: root/tests/core/tests/resources_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/core/tests/resources_tests.py')
-rw-r--r--tests/core/tests/resources_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/core/tests/resources_tests.py b/tests/core/tests/resources_tests.py
index b3901d5..bbaee0b 100644
--- a/tests/core/tests/resources_tests.py
+++ b/tests/core/tests/resources_tests.py
@@ -33,6 +33,7 @@ except ImportError:
class MyResource(resources.Resource):
name = fields.Field()
email = fields.Field()
+ extra = fields.Field()
class Meta:
export_order = ('email', 'name')
@@ -57,7 +58,7 @@ class ResourceTestCase(TestCase):
def test_get_export_order(self):
self.assertEqual(self.my_resource.get_export_headers(),
- ['email', 'name'])
+ ['email', 'name', 'extra'])
class BookResource(resources.ModelResource):