diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-10-09 16:29:54 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-10-09 16:29:54 (GMT) |
commit | b309da53f6eb52484ae69139d5dc0d70ec0ce05c (patch) | |
tree | 9333faa00e0f2192799cb2515b07509f40d08f3f /tests/simulator | |
parent | c9b5381c16fce563307379aa8b52a5b902a7cc98 (diff) |
Add activity change
Diffstat (limited to 'tests/simulator')
-rw-r--r-- | tests/simulator/demo/chaitanya.py | 2 | ||||
-rw-r--r-- | tests/simulator/demo/others.py | 4 | ||||
-rw-r--r-- | tests/simulator/demo/penelope.py | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/tests/simulator/demo/chaitanya.py b/tests/simulator/demo/chaitanya.py index 95798c7..09423cb 100644 --- a/tests/simulator/demo/chaitanya.py +++ b/tests/simulator/demo/chaitanya.py @@ -3,6 +3,6 @@ from sugar.simulator import Bot bot = Bot() bot.name = 'chaitanya' -bot.share_chat('All About Giraffes') +bot.share_chat('giraffes', 'All About Giraffes') bot.start() diff --git a/tests/simulator/demo/others.py b/tests/simulator/demo/others.py index 3b1218f..455794c 100644 --- a/tests/simulator/demo/others.py +++ b/tests/simulator/demo/others.py @@ -2,4 +2,8 @@ from sugar.simulator import Bot for i in range(0, 10): bot = Bot() + + bot.wait(5) + bot.change_activity('giraffes') + bot.start() diff --git a/tests/simulator/demo/penelope.py b/tests/simulator/demo/penelope.py index 90f9d35..4841566 100644 --- a/tests/simulator/demo/penelope.py +++ b/tests/simulator/demo/penelope.py @@ -3,7 +3,6 @@ from sugar.simulator import Bot bot = Bot() bot.name = 'penelope' -bot.wait(20) -bot.share_chat('Nekkhamma') +bot.share_chat('nekkhamma', 'Nekkhamma') bot.start() |