Skip to content

Commit

Permalink
Update Examples 16/17 to use autograding_method (#21)
Browse files Browse the repository at this point in the history
* switched 16 and 17 to use autograding_method

* Set use_router back to true.

Set use_router back to true.

* use router in 16

* don't use router in 17

don't use router in 17
  • Loading branch information
emaicus authored and bmcutler committed Feb 13, 2019
1 parent 8276e7a commit 79300a7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
11 changes: 7 additions & 4 deletions examples/16_docker_network_python/config/config.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
//States that a given testcase uses a router by default. (Default value is true)
"use_router" : true,
// docker_enabled must be true in order for networking to work. If you forget it,
// autograding_method must be docker in order for networking to work. If you forget it,
// your assignment should fail to build.
"docker_enabled" : true,
"autograding_method" : "docker",
"container_options" : {
//States that a given testcase uses a router by default. (Default value is true)
"use_router" : true
},

"autograding" : {
"work_to_details" : [ "**/*.csv", "**/*.txt" ]
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
{

"autograding" : {
"work_to_details" : ["**/*.txt"]
},
"use_router" : false,
"docker_enabled" : true,
"autograding_method" : "docker",
"container_options" : {
//States that a given testcase uses a router by default. (Default value is true)
"use_router" : false
},
"testcases" : [
{
// Student-visible testcase name.
Expand Down

0 comments on commit 79300a7

Please sign in to comment.