def test_leitura_campo_num_decimal(self):
        self.assertEqual(self.seg_p.valor_titulo, Decimal('100.00'))
def write():
	try:
		p = round(weather.pressure(),2)
		c = light.light()
		print('{"light": '+str(c)+', "pressure": '+str(p)+' }')
	except KeyboardInterrupt:
		pass