@@ -45,35 +45,6 @@ def test_create_and_retrieve_mass_estimate(self):
45
45
retrieved_estimate = self .api .retrieve_estimate (id = estimate .data .id )
46
46
self .assertTrue (retrieved_estimate )
47
47
48
- def test_create_and_retrieve_flight_estimate (self ):
49
- """Test case for create_flight_estimate
50
-
51
- Create an estimate based on the distance in meters flown by an airplane # noqa: E501
52
- """
53
- distance_m = 1000000
54
- estimate = self .api .create_flight_estimate (
55
- distance_m = distance_m , create_order = True
56
- )
57
- self .assertEqual (estimate .data .type , "flight" )
58
- self .assertGreater (estimate .data .order .amount , 50000 )
59
- self .assertGreater (estimate .data .mass_g , 50000 )
60
-
61
- retrieved_estimate = self .api .retrieve_estimate (id = estimate .data .id )
62
- self .assertTrue (retrieved_estimate )
63
-
64
- def test_create_and_retrieve_flight_estimate_with_airports (self ):
65
- """Test case for create_flight_estimate
66
-
67
- Create an estimate based on the distance in meters flown by an airplane # noqa: E501
68
- """
69
- estimate_short = self .api .create_flight_estimate (
70
- origin_airport = "SFO" , destination_airport = "LAX"
71
- )
72
- estimate_long = self .api .create_flight_estimate (
73
- origin_airport = "SFO" , destination_airport = "JFK"
74
- )
75
- self .assertGreater (estimate_long .data .mass_g , estimate_short .data .mass_g )
76
-
77
48
def test_create_bitcoin_estimate_no_params (self ):
78
49
"""Test case for create_bitcoin_estimate
79
50
0 commit comments