Skip to content

Commit

Permalink
fixed unit testing
Browse files Browse the repository at this point in the history
  • Loading branch information
cakab committed Jul 10, 2018
1 parent b052b0a commit dc94ca3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_stack.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
import boto3
import yaml
from mock import patch
from moto import mock_cloudformation, mock_ec2, mock_sts
Expand Down Expand Up @@ -48,6 +49,7 @@ def test_create_control_plane():
@patch.object(ekscli.stack.ControlPlane, '_create_eks_cluster_template', skip_cluster)
@patch.object(ekscli.stack.NodeGroup, '_update_configmap', skip_configmap)
def test_create_cluster(tmpdir):
boto3.setup_default_session(region_name='us-east-1')
cp = ControlPlane('test', role='eks-test', region='us-east-1')
ci = cp.create()

Expand Down

0 comments on commit dc94ca3

Please sign in to comment.