DATA_FILE_NAME = 'dataFile'
LAST_MOVEMENT_NUMBER = 'latestMovementsNumber'
-CONFIG_FILE_NAME = 'money-config.json'
-CONFIG_FILE_LOCATION = expanduser('~') + CONFIG_FILE_NAME
+CONFIG_FILE_NAME = 'money.conf'
+CONFIG_FILE_LOCATION = expanduser('~') + '/.config/' + CONFIG_FILE_NAME
def scrivi_movimento(path, m):
self.assertTrue(True, msg='se fallisce son problemi')
def test_config_file_name(self):
- self.assertEqual(money.CONFIG_FILE_NAME, 'money-config.json')
+ self.assertEqual(money.CONFIG_FILE_NAME, 'money.conf')
def test_config_file_path(self):
self.assertEqual(money.CONFIG_FILE_LOCATION,
- expanduser('~') + 'money-config.json')
+ expanduser('~') + '/.config/money.conf')
def test_default_configuration(self):
conf = money.default_configuration()