~nskaggs/help-app/functional-test-template

« back to all changes in this revision

Viewing changes to internals/run-tests

  • Committer: Daniel Holbach
  • Date: 2015-03-19 17:54:55 UTC
  • mfrom: (111.2.14 1429896)
  • Revision ID: daniel.holbach@canonical.com-20150319175455-sjwdzzy3aqaaiu9u
mergedĀ lp:~dholbach/help-app/1429896

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/python3
2
2
 
 
3
import os
3
4
import sys
4
5
import unittest
5
6
 
6
 
test_directory = 'tests/'
 
7
from pelicanconf import TOP_LEVEL_DIR
 
8
 
 
9
test_directory = os.path.join(TOP_LEVEL_DIR, 'internals/tests')
7
10
test_filename = 'test_*'
8
11
if len(sys.argv) > 1:
9
12
    test_filename = sys.argv[1]