@@ -0,0 +1,887 @@
+from cloudmesh_base.util import HEADING%0Afrom cloudmesh_base.util import path_expand%0A%0A%0Afrom cloudmesh_pbs.database import DatabaseMongo%0Aimport os%0A%0A# TODO implement test cases%0A%0Aclass TestDatabaseMongo:%0A%0A    def setup(self):%0A        # HEADING()%0A        self.db = DatabaseMongo()%0A        %0A    def teardown(self):%0A        # HEADING()%0A        pass%0A%0A    def test_clean(self):%0A        HEADING()%0A        self.db.clean()%0A        dbpath = self.db.config%5B'dbpath'%5D%0A        logpath = self.db.config%5B'dbpath'%5D%0A            %0A        assert not os.path.isfile(path_expand(dbpath)) and os.path.isfile(path_expand(logpath)) %0A%0A    def test_init(self):%0A        HEADING()%0A        print (%22TODO%22)%0A        assert False%0A        %0A    def test_set(self):%0A        HEADING()%0A        print (%22TODO%22)%0A        assert False%0A        %0A    def test_update(self):%0A        HEADING()%0A        print (%22TODO%22)%0A        assert False%0A

add a test case template for mongo