@@ -137,7 +137,7 @@ teardown() {
137
137
assert_match " Canister 'remote' is a remote canister on network 'actuallylocal', and cannot be installed from here."
138
138
}
139
139
140
- @test " canister create -- all, canister install --all skip remote canisters" {
140
+ @test " all commands with --all skip remote canisters" {
141
141
install_asset remote/actual
142
142
dfx_start
143
143
setup_actuallylocal_shared_network
@@ -201,6 +201,32 @@ teardown() {
201
201
assert_command jq .remote canister_ids.json
202
202
assert_eq " null"
203
203
204
+ assert_command dfx ledger fabricate-cycles --all --t 100 --network actuallylocal
205
+ assert_contains " Skipping canister 'remote' because it is remote for network 'actuallylocal'"
206
+
207
+ assert_command dfx canister status --all --network actuallylocal
208
+ assert_contains " Skipping canister 'remote' because it is remote for network 'actuallylocal'"
209
+
210
+ assert_command dfx canister update-settings --log-visibility public --all --network actuallylocal
211
+ assert_contains " Skipping canister 'remote' because it is remote for network 'actuallylocal'"
212
+
213
+ assert_command dfx canister stop --all --network actuallylocal
214
+ assert_contains " Skipping canister 'remote' because it is remote for network 'actuallylocal'"
215
+
216
+ assert_command dfx canister start --all --network actuallylocal
217
+ assert_contains " Skipping canister 'remote' because it is remote for network 'actuallylocal'"
218
+
219
+ # have to stop to uninstall
220
+ assert_command dfx canister stop --all --network actuallylocal
221
+
222
+ assert_command dfx canister uninstall-code --all --network actuallylocal
223
+ assert_contains " Skipping canister 'remote' because it is remote for network 'actuallylocal'"
224
+
225
+ assert_command dfx build --all --network actuallylocal
226
+
227
+ assert_command dfx canister delete --all --network actuallylocal
228
+ assert_contains " Skipping canister 'remote' because it is remote for network 'actuallylocal'"
229
+
204
230
# Assert frontend declarations are actually created
205
231
dfx generate
206
232
assert_file_exists " src/declarations/remote/remote.did"
0 commit comments