def test_approved_filename(self): self.assertEquals("foo.approved.txt", TextWriter.approved_filename("foo"))