Supybot Integration (Part 1)
Updated 10 months, 2 weeks ago
| Andrew Schurman | Reviewers | ||
| Basie-Dev | |||
| None | Basie SVN | ||
This is the initial integration of supybot with the ability to use django to automate testing of supy plugins. It offers no functionality of the bot itself, but merely allows one to automate the supy plugin test cases. The idea is to use a dummy application to facilitate testing of supy plugins. The dummy application will likely be used for callbacks back into django later. Specific functionality to be determined. This requires the patch from http://review.basieproject.org/r/418/ There are a few places where I've set the PYPATH manually. Is there a better way to handle this? Bugs: - Generates dummy configuration dirs in the working dir (likely fixed with next patch) - An existing project with ID=0 must exists (requirement from http://review.basieproject.org/r/418/ ) - When running the tests, django reports 7 tests, but there is only 5 (the 2 extra tests pass though)
- Deleted /eggs/ from the base basie dir and ran install.sh. Supybot lib was installed as expected. `bin/buildout' will do the same thing (without deleting eggs). - Ran `bin/django test -- supybot_callbacks' to initiate the tests. All passed.
Diff revision 4 (Latest)
- /trunk/buildout.cfg:
- /trunk/install.sh:
- /trunk/apps/ircbot/__init__.py:
- /trunk/apps/ircbot/templates/tests/test.conf:
- /trunk/apps/ircbot/tests/__init__.py:
- /trunk/apps/ircbot/tests/plugintest.py:
- /trunk/apps/ircbot/tests/test_plugins.py:
- /trunk/basie/settings.py:
- /trunk/basie_eggs/supybot-0.83.4.1.tar.gz:
| /trunk/buildout.cfg | |||
|---|---|---|---|
| Revision 1537 | New Change | ||
| 1 |
|
1 |
|
| 2 | develop = . |
2 | develop = . |
| 3 | parts = mypython |
3 | parts = mypython |
| 4 | django |
4 | django |
| 5 | 5 | ||
| 6 | eggs = basie |
6 | eggs = basie |
| 7 | ipython |
7 | ipython |
| 8 | nose |
8 | nose |
| 9 | django-html |
9 | django-html |
| 10 | docutils |
10 | docutils |
| 11 | PyYAML |
11 | PyYAML |
| 12 | threadedcomments |
12 | threadedcomments |
| 13 | subvertpy |
13 | subvertpy |
| 14 | supybot |
||
| 14 | python-dateutil |
15 | python-dateutil |
| 15 | Whoosh<0.2 |
16 | Whoosh<0.2 |
| 16 | 17 | ||
| 17 | find-links = ${buildout:directory}/basie_eggs/ |
18 | find-links = ${buildout:directory}/basie_eggs/ |
| 18 | http://basieproject.org/eggs/ |
19 | http://basieproject.org/eggs/ |
| ... | 16 lines hidden [Expand] | ||
| /trunk/install.sh | |
|---|---|
| Revision 1537 | New Change |
| /trunk/apps/ircbot/__init__.py | |
|---|---|
| New File | |
| /trunk/apps/ircbot/templates/tests/test.conf | |
|---|---|
| New File | |
| /trunk/apps/ircbot/tests/__init__.py | |
|---|---|
| New File | |
| /trunk/apps/ircbot/tests/plugintest.py | |
|---|---|
| New File | |
| /trunk/apps/ircbot/tests/test_plugins.py | |
|---|---|
| New File | |
| /trunk/basie/settings.py | |
|---|---|
| Revision 1537 | New Change |
| /trunk/basie_eggs/supybot-0.83.4.1.tar.gz | |
|---|---|
| New File | |
- /trunk/buildout.cfg:
- /trunk/install.sh:
- /trunk/apps/ircbot/__init__.py:
- /trunk/apps/ircbot/templates/tests/test.conf:
- /trunk/apps/ircbot/tests/__init__.py:
- /trunk/apps/ircbot/tests/plugintest.py:
- /trunk/apps/ircbot/tests/test_plugins.py:
- /trunk/basie/settings.py:
- /trunk/basie_eggs/supybot-0.83.4.1.tar.gz:

Other reviews