EMR - mark tests as duplicated (#4332)
This commit is contained in:
parent
f5107b9252
commit
8f8ea45d32
@ -34,6 +34,7 @@ input_instance_groups = [
|
||||
]
|
||||
|
||||
|
||||
# Has boto3 equivalent
|
||||
@mock_emr_deprecated
|
||||
def test_describe_cluster():
|
||||
conn = boto.connect_emr()
|
||||
@ -107,6 +108,7 @@ def test_describe_cluster():
|
||||
cluster.visibletoallusers.should.equal("true")
|
||||
|
||||
|
||||
# Has boto3 equivalent
|
||||
@mock_emr_deprecated
|
||||
def test_describe_jobflows():
|
||||
conn = boto.connect_emr()
|
||||
@ -159,6 +161,7 @@ def test_describe_jobflows():
|
||||
resp.should.have.length_of(2)
|
||||
|
||||
|
||||
# Has boto3 equivalent
|
||||
@mock_emr_deprecated
|
||||
def test_describe_jobflow():
|
||||
conn = boto.connect_emr()
|
||||
@ -241,6 +244,7 @@ def test_describe_jobflow():
|
||||
jf.visibletoallusers.should.equal("true")
|
||||
|
||||
|
||||
# Has boto3 equivalent
|
||||
@mock_emr_deprecated
|
||||
def test_list_clusters():
|
||||
conn = boto.connect_emr()
|
||||
@ -309,6 +313,7 @@ def test_list_clusters():
|
||||
resp.clusters.should.have.length_of(30)
|
||||
|
||||
|
||||
# Has boto3 equivalent
|
||||
@mock_emr_deprecated
|
||||
def test_run_jobflow():
|
||||
conn = boto.connect_emr()
|
||||
@ -326,6 +331,7 @@ def test_run_jobflow():
|
||||
job_flow.steps.should.have.length_of(0)
|
||||
|
||||
|
||||
# Has boto3 equivalent
|
||||
@mock_emr_deprecated
|
||||
def test_run_jobflow_in_multiple_regions():
|
||||
regions = {}
|
||||
@ -342,6 +348,7 @@ def test_run_jobflow_in_multiple_regions():
|
||||
jf.name.should.equal(region)
|
||||
|
||||
|
||||
# Has boto3 equivalent
|
||||
@requires_boto_gte("2.8")
|
||||
@mock_emr_deprecated
|
||||
def test_run_jobflow_with_new_params():
|
||||
@ -350,6 +357,7 @@ def test_run_jobflow_with_new_params():
|
||||
conn.run_jobflow(**run_jobflow_args)
|
||||
|
||||
|
||||
# Has boto3 equivalent
|
||||
@requires_boto_gte("2.8")
|
||||
@mock_emr_deprecated
|
||||
def test_run_jobflow_with_visible_to_all_users():
|
||||
@ -360,6 +368,7 @@ def test_run_jobflow_with_visible_to_all_users():
|
||||
job_flow.visibletoallusers.should.equal(str(expected).lower())
|
||||
|
||||
|
||||
# Has boto3 equivalent
|
||||
@requires_boto_gte("2.8")
|
||||
@mock_emr_deprecated
|
||||
def test_run_jobflow_with_instance_groups():
|
||||
@ -381,6 +390,7 @@ def test_run_jobflow_with_instance_groups():
|
||||
instance_group.bidprice.should.equal(expected.bidprice)
|
||||
|
||||
|
||||
# Has boto3 equivalent
|
||||
@requires_boto_gte("2.8")
|
||||
@mock_emr_deprecated
|
||||
def test_set_termination_protection():
|
||||
@ -398,6 +408,7 @@ def test_set_termination_protection():
|
||||
job_flow.terminationprotected.should.equal("false")
|
||||
|
||||
|
||||
# Has boto3 equivalent
|
||||
@requires_boto_gte("2.8")
|
||||
@mock_emr_deprecated
|
||||
def test_set_visible_to_all_users():
|
||||
@ -417,6 +428,7 @@ def test_set_visible_to_all_users():
|
||||
job_flow.visibletoallusers.should.equal("false")
|
||||
|
||||
|
||||
# Has boto3 equivalent
|
||||
@mock_emr_deprecated
|
||||
def test_terminate_jobflow():
|
||||
conn = boto.connect_emr()
|
||||
@ -432,6 +444,7 @@ def test_terminate_jobflow():
|
||||
# testing multiple end points for each feature
|
||||
|
||||
|
||||
# Has boto3 equivalent
|
||||
@mock_emr_deprecated
|
||||
def test_bootstrap_actions():
|
||||
bootstrap_actions = [
|
||||
@ -464,6 +477,7 @@ def test_bootstrap_actions():
|
||||
list(arg.value for arg in x.args).should.equal(y.args())
|
||||
|
||||
|
||||
# Has boto3 equivalent
|
||||
@mock_emr_deprecated
|
||||
def test_instance_groups():
|
||||
input_groups = dict((g.name, g) for g in input_instance_groups)
|
||||
@ -536,6 +550,7 @@ def test_instance_groups():
|
||||
int(igs["task-2"].instancerunningcount).should.equal(3)
|
||||
|
||||
|
||||
# Has boto3 equivalent
|
||||
@mock_emr_deprecated
|
||||
def test_steps():
|
||||
input_steps = [
|
||||
@ -646,6 +661,7 @@ def test_steps():
|
||||
test_list_steps_with_states()
|
||||
|
||||
|
||||
# Has boto3 equivalent
|
||||
@mock_emr_deprecated
|
||||
def test_tags():
|
||||
input_tags = {"tag1": "val1", "tag2": "val2"}
|
||||
|
Loading…
Reference in New Issue
Block a user