summaryrefslogtreecommitdiff
path: root/test2.py
diff options
context:
space:
mode:
authoryo mama <pepper@scannerjammer.com>2015-03-06 00:47:16 -0800
committeryo mama <pepper@scannerjammer.com>2015-03-06 00:47:16 -0800
commit497adf6689bdbe6183c6343062572b84a26892b2 (patch)
treee0d29532db25fbb67ef47c2e3266745be98e3390 /test2.py
parente6dcac83910b1d022b05ca68fc8b0d4b2d32c619 (diff)
ok rewriting parts
Diffstat (limited to 'test2.py')
-rw-r--r--test2.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/test2.py b/test2.py
index 42a9cfb..5af5154 100644
--- a/test2.py
+++ b/test2.py
@@ -4,11 +4,8 @@ import pprint
p = Pb_Api_ImPattern()
params = p.params()
-params.param("image_url").value = "http://hello"
-print params
+#params.param("image_url").value = "http://hello"
+#print params
params.randomize()
pprint.pprint(params.as_hash())
-# well something like this how do you feel about it? seems right? yep looks good, need to go over ranomization and defaults a bit, but core is ready to use lets just look at randomization for a second? sure
-# works, but i think need to reconsider default somehow, it should be something like set_by_user to make sure user set that, and not automated default, or something like that. why is it better to use set by user? well default doesn't say much about value, and in intialization we say that values passed is default, which is not really true. to find difference ( and make randomize() code clearer) it should be somehting like if not el.set_by_user: el.randomize()
-# yeahh ok
-# well like this, but need to check randomization, keep selecting 1.png weird
+print p.call(params.as_hash())