Code

Ticket #7728: test.diff

File test.diff, 919 bytes (added by fijal, 6 years ago)
Line 
1Index: tests/regressiontests/admin_scripts/tests.py
2===================================================================
3--- tests/regressiontests/admin_scripts/tests.py        (revision 7894)
4+++ tests/regressiontests/admin_scripts/tests.py        (working copy)
5@@ -801,7 +801,8 @@
6         out, err = self.run_manage(args)
7         self.assertNoOutput(err)
8         self.assertOutput(out, "EXECUTE:AppCommand app=<module 'django.contrib.auth.models'")
9-        self.assertOutput(out, os.sep.join(['django','contrib','auth','models.pyc']) + "'>, options=[('pythonpath', None), ('settings', None), ('traceback', None)]")
10+        self.assertOutput(out, os.sep.join(['django','contrib','auth','models.py']))
11+        self.assertOutput(out, "'>, options=[('pythonpath', None), ('settings', None), ('traceback', None)]")
12 
13     def test_app_command_no_apps(self):
14         "User AppCommands raise an error when no app name is provided"