]> git.ipfire.org Git - thirdparty/patchwork.git/commit
tests: Add 'store_samples' decorator
authorStephen Finucane <stephen@that.guru>
Sun, 28 Oct 2018 14:40:31 +0000 (14:40 +0000)
committerStephen Finucane <stephen@that.guru>
Sat, 22 Dec 2018 16:13:26 +0000 (16:13 +0000)
commit7274953d3523f179b3fdd4a164632c595be75bd2
tree1ae4e0a4bc7be8c646b22bf484bcb21ec99b0f66
parent3b12675c88ce81800df9e0921f299cf2a082b2aa
tests: Add 'store_samples' decorator

We want to start including sample API requests and responses in our
documentation.  Given that these may get out of date over time, we
should really generate these things dynamically. Create a decorator that
will allow us to do just that.

Signed-off-by: Stephen Finucane <stephen@that.guru>
.gitignore
patchwork/tests/api/utils.py [new file with mode: 0644]