Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/simulator/demo/chaitanya.py2
-rw-r--r--tests/simulator/demo/others.py4
-rw-r--r--tests/simulator/demo/penelope.py3
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()