Changeset 16:cd4170142d87 in mailjam for bin


Ignore:
Timestamp:
May 22, 2012, 9:31:15 AM (12 years ago)
Author:
Borja Lopez <borja@…>
Branch:
default
Phase:
public
Message:

Renamed the project to Mailjam

Location:
bin
Files:
1 edited
2 moved

Legend:

Unmodified
Added
Removed
  • bin/run_tests

    r10 r16  
    11#!/usr/bin/env python
    22#
    3 # Run the tests for the postman package
     3# Run the tests for the mailjam package
    44
    55import os, shutil, sys, unittest
    66
    77try:
    8     from postman.tests import *
     8    from mailjam.tests import *
    99except ImportError:
    1010    sys.path.append(os.path.join(os.path.dirname(__file__), '../'))
    1111    try:
    12         from postman.tests import *
     12        from mailjam.tests import *
    1313    except ImportError:
    14         raise SystemExit('Could not find postman on your filesystem')
     14        raise SystemExit('Could not find mailjam on your filesystem')
    1515
    1616try:
     
    1818finally:
    1919    # FIXME: hardcoded path to the tmp directory, we should read this path
    20     # from postman/tests/postman.conf
    21     shutil.rmtree('/tmp/postman-tests')
     20    # from mailjam/tests/mailjam.conf
     21    shutil.rmtree('/tmp/mailjam-tests')
Note: See TracChangeset for help on using the changeset viewer.