Esempio n. 1
0
class SamePluralsCheckTest(PluralsCheckTest):
    def setUp(self):
        self.check = SamePluralsCheck()

    def test_hit(self):
        self.assertTrue(self.check.check_target(
            ['string', 'plural'],
            ['string', 'string'],
            MockUnit('plural_partial_empty'),
        ))
class SamePluralsCheckTest(PluralsCheckTest):
    def setUp(self):
        self.check = SamePluralsCheck()

    def test_hit(self):
        self.assertTrue(self.check.check_target(
            ['string', 'plural'],
            ['string', 'string'],
            MockUnit('plural_partial_empty'),
        ))
Esempio n. 3
0
class SamePluralsCheckTest(PluralsCheckTest):
    def setUp(self):
        self.check = SamePluralsCheck()

    def test_hit(self):
        self.assertTrue(
            self.check.check_target(
                ["string", "plural"],
                ["string", "string"],
                MockUnit("plural_partial_empty"),
            ))