Example #1
0
 def test_detection_of_non_ka_urls(self):
     self.assertFalse(util.is_khanacademy_url("http://evil.com"))
     self.assertFalse(util.is_khanacademy_url("https://khanacademy.phising.com"))
Example #2
0
 def is_ka_url(url):
     return util.is_khanacademy_url(url)