Add and remove local medias
---------------------------

You have to use the testing suite for these tests. see `media testing suite`_

.. _media testing suite: Testing/MediaTestingSuite

config file to use in media test suite : *default.conf*

**Starting**

1. in /media/TESTS/test-suite/*your-type*/ copy remove_test_source directory to remove_test
2. Remove elisa.db file (media scanner is running by default)
3. Launch Elisa : python elisa.py /media/TESTS/test-suite/config_file/default.conf
4. go in directory audio->Folders->*your-type*->remove_test


**Empty dir content creation**

1. Action : select directory 'empty'. add a directory 'new 1' in.
2. Result : the down arrow must appear. go down => 'new 1' directory must be visible
3. Action : go up and select directory 'empty'. the arrow is visible. remove 'new 1' directory
4. Result : when you go down, the level must be empty. when you go up, the arrow must be removed


**Remove and add files directory**

1. Action : go in 'file tests'->'two files' . remove the first file
2. Result : the file must be removed from the level
3. Action : add one valid media file (copy the file in 'remove_test' for example)
4. Result : the file must be visible and in correct alphabetic order and after the 'empty' directory
5. Action : rename file
6. Result : the file is renamed and in correct alphabetic order
7. Action : remove the two files and the directory
8. Result : the level has to go up and remove the down arrow

do the same with 'file tests'->'two visible files'


**Remove current directory**

1. Action : go in 'remove 1'->'remove 2' : you will see two files. remove dir 'remove_test'
2. Result : I don't know yet.
