@@ -0,0 +1,1598 @@
+# This Source Code Form is subject to the terms of the Mozilla Public%0A# License, v. 2.0. If a copy of the MPL was not distributed with this file,%0A# You can obtain one at http://mozilla.org/MPL/2.0/.%0Aimport unittest%0A%0Afrom auto_nag.bzcleaner import BzCleaner%0Afrom auto_nag.scripts.tracked_bad_severity import TrackedBadSeverity%0A%0Aclass TestBZClearner(unittest.TestCase):%0A%0A    def test_description(self):%0A        assert BzCleaner().description() == ''%0A%0A    def test_name(self):%0A        assert BzCleaner().name() == ''%0A%0A    def test_template(self):%0A        assert BzCleaner().template() == ''%0A%0A    def test_subject(self):%0A        assert BzCleaner().subject() == ''%0A%0A    def test_email_subject(self):%0A        assert %22%5Bautonag%5D%22 in BzCleaner().get_email_subject(None)%0A%0A    def test_ignore_date(self):%0A        self.assertFalse(BzCleaner().ignore_date())%0A%0Aclass TestBZClearnerClass(unittest.TestCase):%0A%0A    def test_description(self):%0A        assert %22Bug tracked%22 in TrackedBadSeverity().description()%0A%0A    def test_name(self):%0A        assert TrackedBadSeverity().name() == 'tracked_bad_severity'%0A%0A    def test_template(self):%0A        assert TrackedBadSeverity().template() == 'tracked-bad-severity.html'%0A%0A    def test_subject(self):%0A        assert %22Bug tracked%22 in TrackedBadSeverity().subject()%0A%0A    def test_get_bz_params(self):%0A        p = TrackedBadSeverity().get_bz_params(None)%0A        assert p%5B'f1'%5D == %22OP%22%0A        assert %22cf_tracking_firefox%22 in p%5B'f3'%5D%0A        assert %22enhancement%22 in p%5B'bug_severity'%5D%0A%0A    def test_ignore_date(self):%0A        self.assertTrue(TrackedBadSeverity().ignore_date())%0A

test bzcleaner too