Skip to content

Commit cb60509

Browse files
committed
Fix command computer test
1 parent 96f445c commit cb60509

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

testmod.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,10 @@ async def test_commands_api(api):
254254
'y': xyz[1],
255255
'z': xyz[2],
256256
'ComputerId': AnyInstanceOf(int),
257-
'id': 'computercraft:command_computer',
257+
'id': 'computercraft:computer_command',
258258
'On': 1,
259259
},
260+
'tags': {},
260261
}
261262

262263
assert await api.commands.getBlockInfo(*xyz) == expected_binfo
@@ -283,9 +284,6 @@ async def test_commands_api(api):
283284

284285

285286
async def test_fs_api(api):
286-
from pprint import pprint
287-
pprint(get_class_table(api.fs.__class__))
288-
pprint(await get_object_table(api, 'fs'))
289287
assert get_class_table(api.fs.__class__) \
290288
== await get_object_table(api, 'fs')
291289

0 commit comments

Comments
 (0)