def test_labextensionpy_uninstall_files(self):
     self._inject_mock_extension()
     install_labextension_python('mockextension', user=True)
     uninstall_labextension_python('mockextension', user=True)
     
     assert not check_labextension(FILENAME)
     assert not check_labextension([FILENAME])
 def test_labextensionpy_uninstall_files(self):
     self._inject_mock_extension()
     install_labextension_python('mockextension', user=True)
     uninstall_labextension_python('mockextension', user=True)
     
     assert not check_labextension(FILENAME)
     assert not check_labextension([FILENAME])
 def test_check_labextension(self):
     with TemporaryDirectory() as d:
         f = u'ƒ.js'
         src = pjoin(d, self.name, 'build')
         touch(pjoin(src, f))
         install_labextension(src, self.name, user=True)
     
     f = pjoin(self.name, f)
     assert check_labextension(f, user=True)
     assert check_labextension([f], user=True)
     assert not check_labextension([f, pjoin('dne', f)], user=True)
 def test_check_labextension(self):
     with TemporaryDirectory() as d:
         f = u'ƒ.js'
         src = pjoin(d, self.name, 'build')
         touch(pjoin(src, f))
         install_labextension(src, self.name, user=True)
     
     f = pjoin(self.name, f)
     assert check_labextension(f, user=True)
     assert check_labextension([f], user=True)
     assert not check_labextension([f, pjoin('dne', f)], user=True)
 def test_labextensionpy_files(self):
     self._inject_mock_extension()
     install_labextension_python('mockextension')
     
     assert check_labextension(FILENAME)
     assert check_labextension([FILENAME])
 def test_labextensionpy_files(self):
     self._inject_mock_extension()
     install_labextension_python('mockextension')
     
     assert check_labextension(FILENAME)
     assert check_labextension([FILENAME])