File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 37
37
flake8 :
38
38
$(VIRTUAL_BIN ) /flake8 $(PROJECT_NAME ) / $(TEST_DIR ) / --append-config examples/style_guides/python/.flake8
39
39
40
+ # # init-examples-submodule - Initialize the examples submodule
41
+ init-examples-submodule :
42
+ git submodule init
43
+ git submodule update
44
+
40
45
# # install - Install the project locally
41
- install : | update -examples-submodule
46
+ install : | init -examples-submodule
42
47
$(PYTHON_BINARY ) -m venv $(VIRTUAL_ENV )
43
48
$(VIRTUAL_BIN ) /pip install -e ." [dev]"
44
49
Original file line number Diff line number Diff line change @@ -122,10 +122,12 @@ def test_carrier_account_update_ups(prod_client):
122
122
123
123
carrier_account = prod_client .carrier_account .create (** params )
124
124
125
- prod_client .carrier_account .update (carrier_account .id , account_number = "987654321" )
125
+ updated_carrier_account = prod_client .carrier_account .update (carrier_account .id , account_number = "987654321" )
126
126
127
- assert isinstance (carrier_account , CarrierAccount )
128
- assert str .startswith (carrier_account .id , "ca_" )
129
- assert carrier_account .type == "UpsAccount"
127
+ assert isinstance (updated_carrier_account , CarrierAccount )
128
+ assert str .startswith (updated_carrier_account .id , "ca_" )
129
+ assert updated_carrier_account .type == "UpsAccount"
130
130
131
- prod_client .carrier_account .delete (carrier_account .id ) # Delete the carrier account once it's done being tested.
131
+ prod_client .carrier_account .delete (
132
+ updated_carrier_account .id
133
+ ) # Delete the carrier account once it's done being tested.
You can’t perform that action at this time.
0 commit comments