def test_empty_dir_list(self):
        ret = self.run_run_plus(fun='fileserver.empty_dir_list')
        self.assertIsInstance(ret['fun'], list)

        # Backend submitted as a string
        ret = self.run_run_plus(fun='fileserver.empty_dir_list',
                                args=['backend="roots"'])
        self.assertIsInstance(ret['fun'], list)

        # Backend submitted as a list
        ret = self.run_run_plus(fun='fileserver.empty_dir_list',
                                args=['backend="[roots]"'])
        self.assertIsInstance(ret['fun'], list)
Should raise 404 if there isn't a matching thread.
dataset/ETHPy150Open saltstack/salt/tests/integration/runners/fileserver.py/ManageTest.test_empty_dir_list--crossover with--dataset/ETHPy150Open ofa/connect/open_connect/connectmessages/tests/test_views.py/TestThreadJSONDetailView.test_no_matching_thread_raises_404