Skip to content

Commit

Permalink
add doc strings
Browse files Browse the repository at this point in the history
  • Loading branch information
grizz committed Jun 20, 2018
1 parent 0dcf467 commit 7a6b70a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pytest_filedata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,19 @@ 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
self.name = name
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)


Expand Down

0 comments on commit 7a6b70a

Please sign in to comment.