1
0
mirror of https://github.com/httpie/cli.git synced 2025-08-10 22:42:05 +02:00

Added tests for sessions.

This commit is contained in:
Jakub Roztocil
2012-09-17 02:15:00 +02:00
parent 6c2001d1f5
commit 548bef7dff
7 changed files with 153 additions and 19 deletions

View File

@@ -45,8 +45,7 @@ class Environment(object):
@property
def config(self):
if not hasattr(self, '_config'):
self._config = Config()
self._config.directory = self.config_dir
self._config = Config(directory=self.config_dir)
if self._config.is_new:
self._config.save()
else: