Commit 687e848
Fabian Beitler
Rebase on master (#254)
Remove trailing whitespace
Workaround,otherwise KeyError is raised before assertRaises checks if Error is raised
Check each error individual
Fix wrong Error
Add indented and commented test spec
Add test for multiple indent formats
Add support for indented DB layout specifications
Fix for #133
Remove asserts from non tests (#250)
* Replace assert statements with if/else statements
Fix for #215
* Change ValueErrors to better type TypeErrors
* Fix wrong isinstance request back to "not in" check
Fix tests to await correct Error
* Fix wrong Error types
Replace "is False" with a better "not" statement
* Fix wrong errortype
* Use Snap7Exception to use unified error messages
* Fix expected exception to Snap7Exception to be consistent.
* Replace TypeError with Snap7Exception to seperate python- and snap7 type errors
* Replace Snap7Exceptions with better ValueError
* Change Snap7Exception with excepted ValueError
* Remove unuesed imports
replace Snap7Exception with ValueError1 parent f525d35 commit 687e848
2 files changed
+50
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
406 | | - | |
| 406 | + | |
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
30 | 55 | | |
31 | 56 | | |
32 | 57 | | |
| |||
252 | 277 | | |
253 | 278 | | |
254 | 279 | | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
255 | 304 | | |
256 | 305 | | |
257 | 306 | | |
| |||
0 commit comments