summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_scripts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/regressiontests/admin_scripts')
-rw-r--r--tests/regressiontests/admin_scripts/tests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/regressiontests/admin_scripts/tests.py b/tests/regressiontests/admin_scripts/tests.py
index 948eb3a659..0a7c56c86e 100644
--- a/tests/regressiontests/admin_scripts/tests.py
+++ b/tests/regressiontests/admin_scripts/tests.py
@@ -1177,8 +1177,7 @@ class CommandTypes(AdminScriptTestCase):
args = ['--version']
out, err = self.run_manage(args)
self.assertNoOutput(err)
- # Only check the first part of the version number
- self.assertOutput(out, get_version().split('-')[0])
+ self.assertOutput(out, get_version())
def test_help(self):
"--help is handled as a special case"