# Class e.p.b.t.t.TestLocalResource(TestLocalMixin, TestCase):

Part of elisa.plugins.base.tests.test_local_resource View In Hierarchy

No class docstring

Line # | Kind | Name | Docs
--- | --- | --- | ---
76 | Method | test_supported_uris_compile_and_work | test whether the supported uris compiles and works
90 | Method | test_wrong_encoding | Undocumented
117 | Method | test_wrong_filename_encoding | fake os.listdir results, make it return a unicode filename
142 | Method | test_uri_in_model | test whether the uri is in the model we get
176 | Method | test_simple_directory_reading | test whether we get the desired data in a simple reading
191 | Method | test_simple_directory_listing | test whether reading the files works in the simple case
212 | Method | test_sub_dir | test whether the subdirectory gets returned as a directory model
238 | Method | test_false_dir | test whether reading an not existing directory fails as expected
247 | Method | test_listing_of_nonexisting_dir | test whether listing of non existing directory fails as expected
257 | Method | test_listing_of_file | test whether listing of non file fails as expected
266 | Method | test_file_reading | test whether we can read the file as expected
292 | Method | test_modified_time | test whether posting the modification time works
320 | Method | test_delete_file | test whether deleting works
335 | Method | test_delete_dir | test whether deleting works

Inherited from TestLocalMixin:

Line # | Kind | Name | Docs
--- | --- | --- | ---
36 | Method | setUp | set up the simple file structure

def test_supported_uris_compile_and_work(self):
test whether the supported uris compiles and works

def test_wrong_encoding(self):
Undocumented
def test_wrong_filename_encoding(self):
fake os.listdir results, make it return a unicode filename

def test_uri_in_model(self):
test whether the uri is in the model we get

def test_simple_directory_reading(self):
test whether we get the desired data in a simple reading

def test_simple_directory_listing(self):
test whether reading the files works in the simple case

def test_sub_dir(self):
test whether the subdirectory gets returned as a directory model

def test_false_dir(self):
test whether reading an not existing directory fails as expected

def test_listing_of_nonexisting_dir(self):
test whether listing of non existing directory fails as expected

def test_listing_of_file(self):
test whether listing of non file fails as expected

def test_file_reading(self):
test whether we can read the file as expected

def test_modified_time(self):
test whether posting the modification time works

def test_delete_file(self):
test whether deleting works

def test_delete_dir(self):
test whether deleting works