Moved scripts into their own folder
This commit is contained in:
1 parent
f155366cf2
commit
f4254b8622
3 files changed
+8
-8
No files matched your search
@@ -0,0 +1,13 @@
|
||||
import os
|
||||
import sys
|
||||
import shutil
|
||||
|
||||
catchPath = os.path.realpath(os.path.dirname(sys.argv[0]))
|
||||
baselinesPath = os.path.join( catchPath, '../projects/SelfTest/Baselines/approvedResults.txt' )
|
||||
filteredResultsPath = os.path.join( catchPath, '../projects/SelfTest/Baselines/unapprovedResults.txt' )
|
||||
|
||||
if os.path.isfile( filteredResultsPath ):
|
||||
os.remove( baselinesPath )
|
||||
os.rename( filteredResultsPath, baselinesPath )
|
||||
else:
|
||||
print "approval file " + filteredResultsPath + " does not exist"
|
||||
Reference in new issue
Block a user