Commit 045b614
feat: raise exception if database doesnt exist (#96)
Closes #78
I wanted to write a test to assert the exception gets raised and had a
hard time fitting it into the test framework because by the time I
receive the target in the test methods its already instantiated with the
sample config with the valid database so I cant override it in an
individual test. So I'd need to create a suite and call
get_target_test_class just to run a single test, instead I just ran the
components as a standalone test.
---------
Co-authored-by: Edgar R. M. <edgar@meltano.com>1 parent 2d7a610 commit 045b614
2 files changed
+18
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
146 | 152 | | |
147 | 153 | | |
148 | 154 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
0 commit comments