diff options
| author | yo mama <pepper@scannerjammer.com> | 2015-09-12 16:11:03 -0700 |
|---|---|---|
| committer | yo mama <pepper@scannerjammer.com> | 2015-09-12 16:11:03 -0700 |
| commit | aedbcd4a704c202fc4b2e2922713655840f421dd (patch) | |
| tree | be92b2e215533d08426eda20bfa9fc82d87fcf6c /Pb/__init__.py | |
| parent | 1b7af1e63f7a498835917bd76384ec68b744afc9 (diff) | |
ok pretty much done with gradient, moving on to generate
Diffstat (limited to 'Pb/__init__.py')
| -rw-r--r-- | Pb/__init__.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Pb/__init__.py b/Pb/__init__.py index af4558f..607362f 100644 --- a/Pb/__init__.py +++ b/Pb/__init__.py @@ -108,10 +108,10 @@ class Pb(object): sys.exit(1); @classmethod - def test(cls, test_params=None): - test_params = test_params or cls._test_params - if not test_params: + def example_run(cls, params=None): + example_params = params or cls.example_params + if not example_params: raise AttributeError ("Must supply test params to test %s" % cls.__name__) - b = cls(**test_params) + b = cls(**example_params) b.create(); |
