Skip to content

Commit

Permalink
Update HOWTO.md
Browse files Browse the repository at this point in the history
  • Loading branch information
R9295 authored Mar 25, 2022
1 parent ce105f9 commit fc3126e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions HOWTO.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ pip install parserkiosk pytest
---
import_string: "from parser import serializer"
serialize_function: "serializer.serialize"
de_serialize_function: "serializer.de_serialize" # for the future :)
assert_functions:
- assert_list_entries
```
Expand Down Expand Up @@ -209,13 +208,13 @@ tests:
func: "assert_string"
arg: "\"hello, world\""
```
14. Add new assert function in our config
14. Add new assert function, and de_serializer function in our config
``` yaml
# parser/config.yaml
---
import_string: "from parser import serializer"
serialize_function: "serializer.serialize"
de_serialize_function: "serializer.de_serialize"
de_serialize_function: "serializer.de_serialize" # this
assert_functions:
- assert_list_entries
- assert_string # this
Expand Down

0 comments on commit fc3126e

Please sign in to comment.