From 4a15327297ac1cacb3f75df8d2b7b0e48474916d Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 09 Oct 2006 11:20:39 +0000 Subject: Refactor directory structure a bit in preparation to the new simulator. --- (limited to 'tests') 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 -- cgit v0.9.1