X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=test%2F006%2Ftest.py;h=d3d90919fdc1eb9c10ab98fa803fe72ad3305071;hb=2286ce0734fe5dadf2b601165f56d2ebb5a91a5a;hp=99e1e1bfa326942b11cf6a200c0798c1f78058cb;hpb=f2f237c936b5d5727c2b70be85cdacd2903c05b2;p=dak.git diff --git a/test/006/test.py b/test/006/test.py index 99e1e1bf..d3d90919 100755 --- a/test/006/test.py +++ b/test/006/test.py @@ -3,7 +3,7 @@ # Test utils.fix_maintainer() # Copyright (C) 2004 James Troup -# $Id: test.py,v 1.1 2004-04-03 02:49:54 troup Exp $ +# $Id: test.py,v 1.2 2004-06-23 23:11:51 troup Exp $ # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -100,6 +100,14 @@ def main (): xd = "james@nocrew.org" check_valid(s, xa, xb, xc, xd); + # Check bracketed just-email form + s = "" + xa = " " + xb = " " + xc = "" + xd = "james@nocrew.org" + check_valid(s, xa, xb, xc, xd); + # Check Krazy quoted-string local part email address s = "Cris van Pelt <\"Cris van Pelt\"@tribe.eu.org>" xa = "Cris van Pelt <\"Cris van Pelt\"@tribe.eu.org>"