Toggle navigation
Toggle navigation
This project
Loading...
Sign in
graykode
/
commit-autosuggestions
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
graykode
2020-11-14 17:06:19 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
42ed4c1abf1fc4bf7d181a9066722dd1ef58d867
42ed4c1a
1 parent
4d0989e3
(fixed) dockerfile path and test code for other languages
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
9 deletions
docker/python/Dockerfile
tests/test_suite.py
docker/python/Dockerfile
View file @
42ed4c1
...
...
@@ -20,4 +20,4 @@ RUN gdown https://drive.google.com/uc?id=${DIFF_MODEL} -O weight/python/diff/
RUN
pip3 install -r requirements.txt
ENTRYPOINT
["python3", "app.py", "--load_model_path", "./weight
s
/python/"]
ENTRYPOINT
["python3", "app.py", "--load_model_path", "./weight/python/"]
...
...
tests/test_suite.py
View file @
42ed4c1
...
...
@@ -65,10 +65,6 @@ class CitiesTestCase(unittest.TestCase):
)
)
self
.
assertEqual
(
response
.
status_code
,
200
)
self
.
assertEqual
(
json
.
loads
(
response
.
text
),
{
'idx'
:
0
,
'message'
:
[
'Test method .'
]}
)
def
test_added
(
self
):
response
=
requests
.
post
(
...
...
@@ -83,10 +79,6 @@ class CitiesTestCase(unittest.TestCase):
)
)
self
.
assertEqual
(
response
.
status_code
,
200
)
self
.
assertEqual
(
json
.
loads
(
response
.
text
),
{
'idx'
:
0
,
'message'
:
[
'Fix typo'
]}
)
def
suite
():
...
...
Please
register
or
login
to post a comment