@@ -0,0 +1,1392 @@
+import sys%0Asys.path.append('./')%0A%0Aimport unittest%0Aimport checksieve%0A%0Aclass TestFileinto(unittest.TestCase):%0A    %0A    def test_fileinto_with_flags(self):%0A        sieve = '''%0A        require %5B%22fileinto%22, %22imap4flags%22%5D;%0A        fileinto :flags %22%5C%5C%5C%5CSeen%22 %22Mailbox%22;%0A        '''%0A        self.assertFalse(checksieve.parse_string(sieve, False))%0A    %0A    def test_fileinto_with_flags_list(self):%0A        sieve = '''%0A        require %5B%22fileinto%22, %22imap4flags%22%5D;%0A        fileinto :flags %5B%22%5C%5C%5C%5CSeen%22, %22%5C%5C%5C%5CDeleted%22%5D %22Mailbox%22;%0A        '''%0A        self.assertFalse(checksieve.parse_string(sieve, False))%0A    %0A    def test_fileinto_with_flags_without_arguments(self):%0A        sieve = '''%0A        require %5B%22fileinto%22, %22imap4flags%22%5D;%0A        fileinto :flags %22Mailbox%22;%0A        '''%0A        self.assertTrue(checksieve.parse_string(sieve, True))%0A    %0A    def test_fileinto_with_flag_and_copy(self):%0A        sieve = '''%0A        require %5B%22fileinto%22, %22imap4flags%22, %22copy%22%5D;%0A        fileinto :flags %22%5C%5C%5C%5CSeen%22 :copy %22Mailbox%22;%0A        '''%0A        self.assertFalse(checksieve.parse_string(sieve, False))%0A    %0A    def test_fileinto_with_flag_without_arguments_and_copy(self):%0A        sieve = '''%0A        require %5B%22fileinto%22, %22imap4flags%22, %22copy%22%5D;%0A        fileinto :flags :copy %22Mailbox%22;%0A        '''%0A        self.assertTrue(checksieve.parse_string(sieve, True))%0A    %0A%0A%0Aif __name__ == '__main__':%0A    unittest.main()

Add failing tests for fileinto command with :flags option