yhttp-dev 3.1.1__tar.gz → 3.1.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: yhttp-dev
3
- Version: 3.1.1
3
+ Version: 3.1.3
4
4
  Summary: yhttp development utilities
5
5
  Home-page: https://github.com/yhttp/yhttp-dev
6
6
  Author: pylover
@@ -0,0 +1 @@
1
+ __version__ = '3.1.3'
@@ -68,7 +68,7 @@ def freshdb(cicd):
68
68
  dbname = f'freshdb_{datetime.datetime.now():%Y%m%d%H%M%S}'
69
69
  dbmanager = PostgresqlManager(host, 'postgres', user, pass_)
70
70
  dbmanager.create(dbname, dropifexists=True)
71
- freshurl = f'postgres://{user}:{pass_}@{host}/{dbname}'
71
+ freshurl = f'postgresql://{user}:{pass_}@{host}/{dbname}'
72
72
  yield freshurl
73
73
  dbmanager.dropifexists(dbname)
74
74
 
@@ -129,5 +129,9 @@ def redis():
129
129
  hashtable = self.maindict.setdefault(key, {})
130
130
  return hashtable[field]
131
131
 
132
+ def close(self):
133
+ # Do nothing here, this methog is needed for just compatibiliy.
134
+ pass
135
+
132
136
  with patch('redis.Redis', new=RedisMock) as p:
133
137
  yield p
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: yhttp-dev
3
- Version: 3.1.1
3
+ Version: 3.1.3
4
4
  Summary: yhttp development utilities
5
5
  Home-page: https://github.com/yhttp/yhttp-dev
6
6
  Author: pylover
@@ -1 +0,0 @@
1
- __version__ = '3.1.1'
File without changes
File without changes
File without changes
File without changes