Skip to content

Commit

Permalink
Whoops, updating tests is a good idea before pushing to remote
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebagabones committed Jan 2, 2025
1 parent a4d1c38 commit c344618
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ssri/ssri.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def getListOfFilesToSearchFiles(
verboseMsg = "filename(s) are " + str(re.findall(r"([^\/]+$)", str(files)))
verbosePrint(verbose, verboseMsg)
filesToSearch[1].append(
outputDir[0] + "/" + re.findall(r"([^\/]+$)", str(files))[0]
outputDir[0] + "/" + re.findall(r"([^\/]+$)", str(files))[0] # This gets the filename of the file without dir path
)

# print(filesToSearch)
Expand Down
10 changes: 5 additions & 5 deletions tests/__snapshots__/test_stuff.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
])
# ---
# name: test_dir
Namespace(dir=True, inputFile=['dir'], templates_dir=None, output='.', no_warnings=False, verbose=False, copy_all=False)
Namespace(dir=True, inputFile=['dir'], templates_dir=None, output=['./output'], no_warnings=False, verbose=False, copy_all=False)
# ---
# name: test_getIncludeFileText
tuple(
Expand All @@ -57,7 +57,7 @@
)
# ---
# name: test_infile
Namespace(dir=False, inputFile=['inputFile'], templates_dir=None, output='.', no_warnings=False, verbose=False, copy_all=False)
Namespace(dir=False, inputFile=['inputFile'], templates_dir=None, output=['./output'], no_warnings=False, verbose=False, copy_all=False)
# ---
# name: test_lookForInclude
tuple(
Expand Down Expand Up @@ -138,10 +138,10 @@
)
# ---
# name: test_templates_dir
Namespace(dir=True, inputFile=['dir'], templates_dir=['templates'], output='.', no_warnings=False, verbose=False, copy_all=False)
Namespace(dir=True, inputFile=['dir'], templates_dir=['templates'], output=['./output'], no_warnings=False, verbose=False, copy_all=False)
# ---
# name: test_templates_infile
Namespace(dir=False, inputFile=['inputFile'], templates_dir=['template'], output='.', no_warnings=False, verbose=False, copy_all=False)
Namespace(dir=False, inputFile=['inputFile'], templates_dir=['template'], output=['./output'], no_warnings=False, verbose=False, copy_all=False)
# ---
# name: test_templates_output_dir
Namespace(dir=True, inputFile=['dir'], templates_dir=['templates'], output=['output'], no_warnings=False, verbose=False, copy_all=False)
Expand All @@ -150,5 +150,5 @@
Namespace(dir=False, inputFile=['inputFile'], templates_dir=['template'], output=['output'], no_warnings=False, verbose=False, copy_all=False)
# ---
# name: test_verbose
Namespace(dir=False, inputFile=['inputFile'], templates_dir=None, output='.', no_warnings=False, verbose=True, copy_all=False)
Namespace(dir=False, inputFile=['inputFile'], templates_dir=None, output=['./output'], no_warnings=False, verbose=True, copy_all=False)
# ---

0 comments on commit c344618

Please sign in to comment.