diff options
author | Paul Rodger <paul@paulrodger.com> | 2002-04-11 10:23:16 +0000 |
---|---|---|
committer | Paul Rodger <paul@paulrodger.com> | 2002-04-11 10:23:16 +0000 |
commit | 07ab0ae7731d957b6f835d8e7789ff4c0aa0302f (patch) | |
tree | 1efae9415dabeb48ef9787b4a62cfb7461201555 /test_archivemail.py | |
parent | d27832f818ea90ab28ffe82b12789704d5f042c4 (diff) | |
download | archivemail-07ab0ae7731d957b6f835d8e7789ff4c0aa0302f.tar.gz archivemail-07ab0ae7731d957b6f835d8e7789ff4c0aa0302f.tar.bz2 archivemail-07ab0ae7731d957b6f835d8e7789ff4c0aa0302f.zip |
Getting ready for v0.3 release.
Diffstat (limited to 'test_archivemail.py')
-rwxr-xr-x | test_archivemail.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/test_archivemail.py b/test_archivemail.py index 0015541..22ab2f2 100755 --- a/test_archivemail.py +++ b/test_archivemail.py @@ -32,6 +32,7 @@ TODO: add tests for: """ +import sys import fcntl import filecmp import os @@ -41,7 +42,15 @@ import tempfile import time import unittest -import archivemail +try: + import archivemail +except ImportError: + print "The archivemail script needs to be called 'archivemail.py'" + print "and should be in the current directory in order to be imported" + print "and tested. Sorry." + if os.path.isfile("archivemail"): + print "Try renaming it from 'archivemail' to 'archivemail.py'." + sys.exit(1) |