Skip to content

Commit

Permalink
remove comments and update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
NvdLaan committed Aug 5, 2024
1 parent deb4a78 commit e0c51ea
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,12 @@ You can add pre-commit hooks for checking and cleaning up your changes:
```bash
bash bin/install_pre_commit.sh
```


## Running tests

Containers should be running to run tests via docker.

```bash
docker compose exec -T zwd-backend python manage.py test /app/apps
```
2 changes: 1 addition & 1 deletion app/apps/workflow/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def run_validation(self, data=empty):
if data is not empty:
unknown = set(data) - set(self.fields)
if unknown:
# errors = ["Unknown field: {}".format(f) for f in unknown]
errors = ["Unknown field: {}".format(f) for f in unknown]
raise ValueError

return super().run_validation(data)

0 comments on commit e0c51ea

Please sign in to comment.