Commits

Sergey Fursov committed 93d71ed

right tests for issue #12

  • Participants
  • Parent commits abc1f06

Comments (0)

Files changed (1)

File tests/tests.py

                 if url:
                     self.assertIn(link, self._get_js())
                 else:
-                    self.assertIsNone(self._get_js())
+                    self.assertNotIn('src=""', self._get_js())
         finally:
             settings.JQUERY_URL = _old_jquery_url
 
             if url:
                 self.assertIn(link, self._get_js())
             else:
-                settings.JQUERY_URL = 'jquery.min.js'
-                self.assertNotIn('/static/jquery.min.js', self._get_js())
+                self.assertNotIn('src=""', self._get_js())
 
 try:
     from south.modelsinspector import introspector