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.
- {yhttp_dev-3.1.1 → yhttp_dev-3.1.3}/PKG-INFO +1 -1
- yhttp_dev-3.1.3/yhttp/dev/__init__.py +1 -0
- {yhttp_dev-3.1.1 → yhttp_dev-3.1.3}/yhttp/dev/fixtures.py +5 -1
- {yhttp_dev-3.1.1 → yhttp_dev-3.1.3}/yhttp_dev.egg-info/PKG-INFO +1 -1
- yhttp_dev-3.1.1/yhttp/dev/__init__.py +0 -1
- {yhttp_dev-3.1.1 → yhttp_dev-3.1.3}/LICENSE +0 -0
- {yhttp_dev-3.1.1 → yhttp_dev-3.1.3}/README.md +0 -0
- {yhttp_dev-3.1.1 → yhttp_dev-3.1.3}/setup.cfg +0 -0
- {yhttp_dev-3.1.1 → yhttp_dev-3.1.3}/setup.py +0 -0
- {yhttp_dev-3.1.1 → yhttp_dev-3.1.3}/yhttp_dev.egg-info/SOURCES.txt +0 -0
- {yhttp_dev-3.1.1 → yhttp_dev-3.1.3}/yhttp_dev.egg-info/dependency_links.txt +0 -0
- {yhttp_dev-3.1.1 → yhttp_dev-3.1.3}/yhttp_dev.egg-info/top_level.txt +0 -0
|
@@ -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'
|
|
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 +0,0 @@
|
|
|
1
|
-
__version__ = '3.1.1'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|