Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Commit

Permalink
Fix spaces in the settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mikahanninen committed Nov 28, 2012
1 parent 8433a26 commit 1e5c9a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rfgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,17 +183,17 @@ def _create_test_suite(path, filecount = 1, testcount = 20, avg_test_depth = 5,
settings_txt += "*** Settings ***\n"
for testlib_key,testlib_value in libraries_in_use.iteritems():
if testlib_key != testlib_value:
settings_txt += "Library %45s.py\tWITH NAME\t%s\n" % (testlib_value, testlib_key)
settings_txt += "Library\t%s.py\tWITH NAME\t%s\n" % (testlib_value, testlib_key)
else:
settings_txt += "Library %45s.py\n" % (testlib_value)
settings_txt += "Library\t%s.py\n" % (testlib_value)
settings_txt += "Library\tOperatingSystem\n"
settings_txt += "Library\tString\n"
settings_txt += "Force Tags\t%s\n" % suite_tag

for x in range(random.randint(0,2)):
try:
selected_resource = available_resources.pop()[0]
settings_txt += "Resource %45s\n" % selected_resource
settings_txt += "Resource\t%s\n" % selected_resource
except IndexError:
break
settings_txt += "\n"
Expand Down

0 comments on commit 1e5c9a8

Please sign in to comment.