increase test coverage

This commit is contained in:
Alan Hamlett 2015-09-07 20:57:21 -07:00
parent df893be3fc
commit edb1dab9a8
5 changed files with 12 additions and 12 deletions

View file

@ -105,7 +105,7 @@ class LanguagesTestCase(utils.TestCase):
entity = 'tests/samples/projects/project_map/emptyfile.txt'
fh.write(open('tests/samples/project_map.cfg').read().encode('utf-8'))
fh.write('{0} = proj-map'.format(os.path.realpath(os.path.dirname(entity))).encode('utf-8'))
fh.write('{0} = proj-map'.format(os.path.realpath(os.path.dirname(os.path.dirname(entity)))).encode('utf-8'))
fh.flush()
config = fh.name