From 3295e4067823c7cf844f9bbb7fe82cf1d0d1bcc2 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Thu, 6 Aug 2015 07:13:57 +0200 Subject: [PATCH] tests: Fix tests expecting comma as a separator --- test/ids.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/ids.t b/test/ids.t index 101f6b5f2..c3c26d7dc 100755 --- a/test/ids.t +++ b/test/ids.t @@ -50,12 +50,12 @@ class TestIDs(TestCase): def test_ids_count_A(self): """ids +A""" code, out, err = self.t("ids +A") - self.assertRegexpMatches(out, "^1-3,5$") + self.assertRegexpMatches(out, "^1-3 5$") def test_ids_count_B(self): """ids +B""" code, out, err = self.t("ids +B") - self.assertRegexpMatches(out, "^1,3,5$") + self.assertRegexpMatches(out, "^1 3 5$") def test_ids_count_A_B(self): """ids +A -B""" @@ -75,7 +75,7 @@ class TestIDs(TestCase): def test_uuids_count_A(self): """uuids +A""" code, out, err = self.t("uuids +A") - self.assertRegexpMatches(out, "{0},{0},{0},{0}".format(UUID_REGEXP)) + self.assertRegexpMatches(out, "{0} {0} {0} {0}".format(UUID_REGEXP)) def test_get_uuids_count_A(self): """_uuids +A"""