Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
snipper
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tuhe
snipper
Commits
18bd4a9f
Commit
18bd4a9f
authored
2 years ago
by
tuhe
Browse files
Options
Downloads
Patches
Plain Diff
Updates for presentation
parent
180829fc
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#9329
passed
2 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/setup_test_files.py
+1
-2
1 addition, 2 deletions
tests/setup_test_files.py
tests/test_python.py
+0
-2
0 additions, 2 deletions
tests/test_python.py
with
1 addition
and
4 deletions
tests/setup_test_files.py
+
1
−
2
View file @
18bd4a9f
...
...
@@ -12,7 +12,6 @@ def setup(source, dest):
def
setup_keep
(
source
,
dest
):
from
snipper
import
snipper_main
# snip_dir(source, dest_dir=dest + "/code", clean_destination_dir=True, output_dir=dest + "/output")
with
open
(
source
,
'
r
'
)
as
f
:
...
...
@@ -30,7 +29,7 @@ if __name__ == "__main__":
# if os.path.isdir("student_repo"):
# shutil.rmtree("student_repo")
from
snipper
import
snip_dir
#
from snipper import snip_dir
# if not os.path.isdir("student_correct_output"):
# os.mkdir("student_correct_output")
for
file
in
[
'
demo1
'
]:
...
...
This diff is collapsed.
Click to expand it.
tests/test_python.py
+
0
−
2
View file @
18bd4a9f
import
filecmp
from
unittest
import
TestCase
import
filecmp
import
os.path
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment