From cf473863d976587f9178163b7df492067ac30e40 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 1 Feb 2016 18:38:57 -0500 Subject: [PATCH] Tests: Added specific error wording - Also removed uppercase attribute names. --- test/uda_report.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/uda_report.t b/test/uda_report.t index bf923625a..f9d87b154 100755 --- a/test/uda_report.t +++ b/test/uda_report.t @@ -45,12 +45,12 @@ class TestUdaReports(TestCase): cls.t.config("report.good.description", "Test report") cls.t.config("report.good.filter", "") cls.t.config("report.good.labels", "ID,Extra") - cls.t.config("report.good.sort", "ID") + cls.t.config("report.good.sort", "id") cls.t.config("report.bad.columns", "id,extra2") cls.t.config("report.bad.description", "Test report2") cls.t.config("report.bad.filter", "") cls.t.config("report.bad.labels", "ID,Extra2") - cls.t.config("report.bad.sort", "ID") + cls.t.config("report.bad.sort", "id") cls.t("add one extra:foo") @@ -65,7 +65,7 @@ class TestUdaReports(TestCase): code, out, err = self.t.runError("bad") self.assertNotIn("foo", out) - self.assertIn("Unrecognized column name", err) + self.assertIn("Unrecognized column name 'extra2'.", err) if __name__ == "__main__":