From b309da53f6eb52484ae69139d5dc0d70ec0ce05c Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 09 Oct 2006 16:29:54 +0000 Subject: Add activity change --- (limited to 'tests') 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() -- cgit v0.9.1