File: user-disabled.t

package info (click to toggle)
libmail-deliverystatus-bounceparser-perl 1.542%2Brepacked-1~deb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,044 kB
  • sloc: perl: 1,684; makefile: 2
file content (17 lines) | stat: -rwxr-xr-x 313 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!perl -wT
use strict;

use Test::More;

use lib 't';
use TestBounceParser;

my @test_files = ( "user-unknown-disabled.msg", "polish-unknown.msg" );

for my $fn (@test_files) {
    subtest $fn => sub {
        check_report( "t/corpus/$fn", is_bounce => 1, std_reason => 'user_disabled' );
    };
}

done_testing;