def test_invalid_handle_is_caught(self):
   args = ['plugin://plugin.video.nightclubdj/','two', '3']
   properties = Properties(args)
   self.assertEqual(properties.addonHandle(), 0)
 def test_turning_args_into_properties(self):
   args = ['plugin://plugin.video.nightclubdj/', '2', '3']
   properties = Properties(args)
   self.assertEqual(properties.addonHandle(), 2)
   self.assertEqual(properties.baseURL(), 'plugin://plugin.video.nightclubdj/')