]> git.donarmstrong.com Git - debbugs.git/blobdiff - t/06_mail_handling.t
fix and add testing bits to test the issues with set_tag
[debbugs.git] / t / 06_mail_handling.t
index 1c6709420d8af4644d5c100777d5ddb2f643ee6f..0ae5d0afac26ff1ebea92fcf79f6f463df8afdb0 100644 (file)
@@ -1,7 +1,7 @@
 # -*- mode: cperl;-*-
 # $Id: 05_mail.t,v 1.1 2005/08/17 21:46:17 don Exp $
 
-use Test::More tests => 102;
+use Test::More tests => 111;
 
 use warnings;
 use strict;
@@ -279,6 +279,21 @@ my @control_commands =
                       status_key => 'owner',
                       status_value => '',
                      },
+      tag          => {command => 'tag',
+                      value   => ' = patch',
+                      status_key => 'keywords',
+                      status_value => 'patch',
+                     },
+      untag        => {command => 'tag',
+                      value   => ' - patch',
+                      status_key => 'keywords',
+                      status_value => '',
+                     },
+      plustag      => {command => 'tag',
+                      value   => ' + patch',
+                      status_key => 'keywords',
+                      status_value => 'patch',
+                     },
      );
 
 # In order for the archive/unarchive to work, we have to munge the summary file slightly