Commit [5ea834] Maximize Restore History

[plugin.video.dr.dk.bonanza] updated to version 1.1.0

spiff spiff 2011-07-31

added plugin.video.dr.dk.bonanza/.idea/encodings.xml
added plugin.video.dr.dk.bonanza/.idea/misc.xml
added plugin.video.dr.dk.bonanza/.idea/modules.xml
added plugin.video.dr.dk.bonanza/.idea/vcs.xml
added plugin.video.dr.dk.bonanza/fanart.jpg
changed plugin.video.dr.dk.bonanza/addon.py
changed plugin.video.dr.dk.bonanza/addon.xml
changed plugin.video.dr.dk.bonanza/changelog.txt
copied plugin.video.dr.dk.bonanza/test.py -> plugin.video.dr.dk.bonanza/.idea/plugin.video.dr.dk.bonanza.iml
plugin.video.dr.dk.bonanza/.idea/encodings.xml Diff Switch to side-by-side view
Loading...
plugin.video.dr.dk.bonanza/.idea/misc.xml Diff Switch to side-by-side view
Loading...
plugin.video.dr.dk.bonanza/.idea/modules.xml Diff Switch to side-by-side view
Loading...
plugin.video.dr.dk.bonanza/.idea/vcs.xml Diff Switch to side-by-side view
Loading...
plugin.video.dr.dk.bonanza/fanart.jpg Diff Switch to side-by-side view
Loading...
plugin.video.dr.dk.bonanza/addon.py Diff Switch to side-by-side view
Loading...
plugin.video.dr.dk.bonanza/addon.xml Diff Switch to side-by-side view
Loading...
plugin.video.dr.dk.bonanza/changelog.txt Diff Switch to side-by-side view
Loading...
plugin.video.dr.dk.bonanza/test.py to plugin.video.dr.dk.bonanza/.idea/plugin.video.dr.dk.bonanza.iml
--- a/plugin.video.dr.dk.bonanza/test.py
+++ b/plugin.video.dr.dk.bonanza/.idea/plugin.video.dr.dk.bonanza.iml
@@ -1,36 +1,12 @@
-import os
-import sys
-import unittest
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="PYTHON_MODULE" version="4">
+  <component name="NewModuleRootManager">
+    <content url="file://$MODULE_DIR$/../Danish-XBMC-addons/script.module.danishaddons/xbmcstubs">
+      <sourceFolder url="file://$MODULE_DIR$/../Danish-XBMC-addons/script.module.danishaddons/xbmcstubs" isTestSource="false" />
+    </content>
+    <content url="file://$MODULE_DIR$" />
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+  </component>
+</module>
 
-sys.path.append("../script.module.danishaddons/")
-sys.path.append("../script.module.danishaddons/xbmcstubs/")
-sys.path.append("../script.module.feedparser/")
-
-import xbmc
-import xbmcplugin
-import danishaddons
-import addon
-
-class TestDrDkBonanza(unittest.TestCase):
-
-    def setUp(self):
-        danishaddons.init([os.getcwd(), '12345', ''])
-        xbmcplugin.items = list()
-
-    def testSearch(self):
-        xbmc.textValue = 'bamse'
-        addon.search()
-
-        self.assertNotEquals(0, len(xbmcplugin.items), msg = 'Expected at least one ListItem')
-
-    def testShowCategories(self):
-        addon.showCategories()
-
-        self.assertNotEquals(0, len(xbmcplugin.items), msg = 'Expected at least one ListItem')
-        self.assertNotEquals(-1, xbmcplugin.items[0].url.find('mode=search'))
-        self.assertNotEquals(-1, xbmcplugin.items[1].url.find('mode=recommend'))
-        self.assertNotEquals(-1, xbmcplugin.items[0].url.find('mode=search'))
-
-if __name__ == '__main__':
-    unittest.main()
-