def test1_dump(self):
		#if exists remove test1_dump* file
		for file in os.listdir("."):
					if file.startswith("test1_dump"):
						if os.path.exists("./" + file.title()):
							os.remove("./" + file.title())
		
		pg = Postgres()
		pg.master = "test"
		test = pg.do_dump("lista_test.ShouldBeOK.pgBase_test " + test1_dump_file)
		
		#test if file exists
		counter = 0
		for file in os.listdir("."):
					if file.startswith("test1_dump"):
						counter += 1
						if os.path.exists("./" + file.title()):
							os.remove("./" + file.title())
		self.assertNotEqual(counter,0)
	def test2_query(self):
		pg = Postgres()
		pg.do_query("lista1.nsn \"select * from shepherd\"")