~cando/gtg/zeitgeist-backend

« back to all changes in this revision

Viewing changes to run-tests

  • Committer: Izidor Matušov
  • Date: 2012-03-31 09:33:54 UTC
  • mfrom: (1142.2.1 gtg-huxuan)
  • Revision ID: izidor.matusov@gmail.com-20120331093354-eagvcwtg0r1u2rtm
test_tomboy_backend doesn't connect to real tomboy anymore, thanks to huxuan

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
        print "./run_tests  [function_path ..] to run the selected " + \
43
43
              "functions as tests"
44
44
        return
 
45
    # fake modules that mimic the behaviour of external libraries ...
 
46
    TestingMode().set_testing_mode(True)
45
47
    if args:
46
48
        #if we have specified the name of the test in the command line
47
49
        suites = []
48
 
        # fake modules that mimic the behaviour of external libraries ...
49
 
        TestingMode().set_testing_mode(True)
50
50
        for arg in args:
51
51
            #each arg can be a module name (as test_liblarch), or a module name
52
52
            # "dot" a function name (as test_liblarch.test_something)