Commit 85e050d
authored
* function that adds quotes to schema name if the schema name contains upper case letter
* needs string with " if upper case letters, psycopg2 takes care of adding '
* add workspace
* parametrize tests, so that they run on two project names - adding problematic project name with upper case letter
* add test info about workspace
* update test name
* fix tests to properly escape schema names
* add to avoid accidental commits
* escape if schema contains other characters then a-z 0-9 and _, use double quote if necessary
* rename tests to avoid potential issues on Windows
* do not parameterize all the tests
* create simple parametrized test, that contains just init, push and pull for couple of different project names
---------
Co-authored-by: Jan Caha <[email protected]>
1 parent e025433 commit 85e050d
4 files changed
+122
-55
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
37 | 46 | | |
38 | 47 | | |
39 | 48 | | |
| |||
230 | 239 | | |
231 | 240 | | |
232 | 241 | | |
| 242 | + | |
233 | 243 | | |
234 | 244 | | |
235 | 245 | | |
| |||
0 commit comments