diff --git a/pkmodel/model.py b/pkmodel/model.py index 7532b54..a73cfdd 100644 --- a/pkmodel/model.py +++ b/pkmodel/model.py @@ -3,7 +3,6 @@ # class Model: - """A Pharmokinetic (PK) model Parameters @@ -19,11 +18,11 @@ class Model: """ def __init__(self, name, - Q_p1 = 1, - V_c = 1, - V_p1 = 1, - CL = 1, - X = 1): + Q_p1=1, + V_c=1, + V_p1=1, + CL=1, + X=1): self.name = name self.Q_p1 = Q_p1 self.V_c = V_c @@ -32,4 +31,4 @@ def __init__(self, self.X = X def __str__(self): - return "model named " + self.name \ No newline at end of file + return "model named " + self.name diff --git a/pkmodel/tests/test_model.py b/pkmodel/tests/test_model.py index 274ba9c..a7c75d0 100644 --- a/pkmodel/tests/test_model.py +++ b/pkmodel/tests/test_model.py @@ -10,6 +10,5 @@ def test_create(self): """ Tests Model creation. """ - model = pk.Model() - self.assertEqual(model.value, 42) - + model = pk.Model(name="testing") + self.assertEqual(model.name, "testing")