flannel: add unit tests for config loading

backfill unit tests to add coverage for loadFlannelNetConf and
loadFlannelSubnetEnv
This commit is contained in:
Mark St.Godard
2016-11-05 23:27:14 -05:00
parent fa264e6e36
commit f0daefa63d
2 changed files with 109 additions and 54 deletions

View File

@@ -11,7 +11,7 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package main_test
package main
import (
"encoding/json"