Linting
This commit is contained in:
parent
2b0e7da998
commit
dcb122076f
@ -145,10 +145,14 @@ def test_get_send_statistics():
|
|||||||
result = conn.get_send_statistics()
|
result = conn.get_send_statistics()
|
||||||
|
|
||||||
reject_count = int(
|
reject_count = int(
|
||||||
result["GetSendStatisticsResponse"]["GetSendStatisticsResult"]["SendDataPoints"][0]["Rejects"]
|
result["GetSendStatisticsResponse"]["GetSendStatisticsResult"][
|
||||||
|
"SendDataPoints"
|
||||||
|
][0]["Rejects"]
|
||||||
)
|
)
|
||||||
delivery_count = int(
|
delivery_count = int(
|
||||||
result["GetSendStatisticsResponse"]["GetSendStatisticsResult"]["SendDataPoints"][0]["DeliveryAttempts"]
|
result["GetSendStatisticsResponse"]["GetSendStatisticsResult"][
|
||||||
|
"SendDataPoints"
|
||||||
|
][0]["DeliveryAttempts"]
|
||||||
)
|
)
|
||||||
reject_count.should.equal(1)
|
reject_count.should.equal(1)
|
||||||
delivery_count.should.equal(0)
|
delivery_count.should.equal(0)
|
||||||
@ -162,10 +166,14 @@ def test_get_send_statistics():
|
|||||||
result = conn.get_send_statistics()
|
result = conn.get_send_statistics()
|
||||||
|
|
||||||
reject_count = int(
|
reject_count = int(
|
||||||
result["GetSendStatisticsResponse"]["GetSendStatisticsResult"]["SendDataPoints"][0]["Rejects"]
|
result["GetSendStatisticsResponse"]["GetSendStatisticsResult"][
|
||||||
|
"SendDataPoints"
|
||||||
|
][0]["Rejects"]
|
||||||
)
|
)
|
||||||
delivery_count = int(
|
delivery_count = int(
|
||||||
result["GetSendStatisticsResponse"]["GetSendStatisticsResult"]["SendDataPoints"][0]["DeliveryAttempts"]
|
result["GetSendStatisticsResponse"]["GetSendStatisticsResult"][
|
||||||
|
"SendDataPoints"
|
||||||
|
][0]["DeliveryAttempts"]
|
||||||
)
|
)
|
||||||
reject_count.should.equal(1)
|
reject_count.should.equal(1)
|
||||||
delivery_count.should.equal(1)
|
delivery_count.should.equal(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user