From 7a6b70aa42fb30d288811d2ff31af13b19fdcebc Mon Sep 17 00:00:00 2001 From: Matt Griswold Date: Wed, 20 Jun 2018 06:21:24 +0000 Subject: [PATCH] add doc strings --- pytest_filedata/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pytest_filedata/__init__.py b/pytest_filedata/__init__.py index a3e161f..4444440 100644 --- a/pytest_filedata/__init__.py +++ b/pytest_filedata/__init__.py @@ -58,6 +58,7 @@ def loads(data): class FileTestData(object): + """ object to hold file test data """ def __init__(self, inp=None, exp=None, name=None, path=None): self.input = inp self.expected = exp @@ -65,9 +66,11 @@ def __init__(self, inp=None, exp=None, name=None, path=None): self.path = path def dumps(self, data): + """ dump data in configured output method """ return dumps(data) def loads(self, data): + """ load data in configured output method """ return loads(data)