Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-10-09 11:20:39 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-10-09 11:20:39 (GMT)
commit4a15327297ac1cacb3f75df8d2b7b0e48474916d (patch)
tree2c1028134982e6149c51726814234b1af72d9dba /tests
parent8c3ac8960fdee7e4bcc8b0bf813ec5d84eb7bcc9 (diff)
Refactor directory structure a bit in preparation to the new simulator.
Diffstat (limited to 'tests')
-rw-r--r--tests/simulator/bots.py18
-rwxr-xr-xtests/simulator/bots/kiu.py (renamed from tests/simulator/kiu.py)2
-rw-r--r--tests/simulator/data/LICENSE (renamed from tests/simulator/LICENSE)0
-rw-r--r--tests/simulator/data/chaitanya.jpg (renamed from tests/simulator/chaitanya.jpg)bin1653 -> 1653 bytes
-rw-r--r--tests/simulator/data/kiu.jpg (renamed from tests/simulator/kiu.jpg)bin1364 -> 1364 bytes
-rw-r--r--tests/simulator/data/penelope.jpg (renamed from tests/simulator/penelope.jpg)bin1577 -> 1577 bytes
6 files changed, 1 insertions, 19 deletions
diff --git a/tests/simulator/bots.py b/tests/simulator/bots.py
deleted file mode 100644
index 68bc4e1..0000000
--- a/tests/simulator/bots.py
+++ /dev/null
@@ -1,18 +0,0 @@
-import os
-
-import gtk
-
-from sugar.bots import Bot
-
-basedir = os.path.dirname(__file__)
-
-bot = Bot("Chaitanya", os.path.join(basedir, "chaitanya.jpg"))
-bot.start()
-
-bot = Bot("Kiu", os.path.join(basedir, "kiu.jpg"))
-bot.start()
-
-bot = Bot("Penelope", os.path.join(basedir, "penelope.jpg"))
-bot.start()
-
-gtk.main()
diff --git a/tests/simulator/kiu.py b/tests/simulator/bots/kiu.py
index 18f30fd..17b1e1e 100755
--- a/tests/simulator/kiu.py
+++ b/tests/simulator/bots/kiu.py
@@ -24,7 +24,7 @@ class KiuBot(Bot):
self.add_action(action, 20)
curdir = os.path.abspath(os.path.dirname(__file__))
- self._icon_file = os.path.join(curdir, 'kiu.jpg')
+ self._icon_file = os.path.join(curdir, '../data/kiu.jpg')
def __activity_switch_cb(self):
self._activity_switch_timeout = None
diff --git a/tests/simulator/LICENSE b/tests/simulator/data/LICENSE
index e80f60b..e80f60b 100644
--- a/tests/simulator/LICENSE
+++ b/tests/simulator/data/LICENSE
diff --git a/tests/simulator/chaitanya.jpg b/tests/simulator/data/chaitanya.jpg
index aecaf81..aecaf81 100644
--- a/tests/simulator/chaitanya.jpg
+++ b/tests/simulator/data/chaitanya.jpg
Binary files differ
diff --git a/tests/simulator/kiu.jpg b/tests/simulator/data/kiu.jpg
index 1beca11..1beca11 100644
--- a/tests/simulator/kiu.jpg
+++ b/tests/simulator/data/kiu.jpg
Binary files differ
diff --git a/tests/simulator/penelope.jpg b/tests/simulator/data/penelope.jpg
index 0d81097..0d81097 100644
--- a/tests/simulator/penelope.jpg
+++ b/tests/simulator/data/penelope.jpg
Binary files differ