Issue 12 in pyxmlcheck: SelectionCheck using callback does not call the callback when retrieving values

0 views
Skip to first unread message

pyxml...@googlecode.com

unread,
Mar 27, 2014, 10:55:48 PM3/27/14
to pyxmlchec...@googlegroups.com
Status: Accepted
Owner: Joshua.R.English
Labels: Type-Defect Priority-Medium SelectionCheck

New issue 12 by Joshua.R.English: SelectionCheck using callback does not
call the callback when retrieving values
http://code.google.com/p/pyxmlcheck/issues/detail?id=12

What steps will reproduce the problem?
import xcheck

def my_stuff():
return ['here', 'there', 'everywhere']

s = xcheck.SelectionCheck('stuff', callback=my_stuff)

print s('here') # True
print s('there') # True
print s('everywhere') # True

print s.values # []

What is the expected output? What do you see instead?

Should see ['here', 'there', 'everywhere']

Please use labels and text to provide additional information.



--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

pyxml...@googlecode.com

unread,
Mar 28, 2014, 1:24:39 AM3/28/14
to pyxmlchec...@googlegroups.com
Updates:
Status: Fixed

Comment #1 on issue 12 by Joshua.R.English: SelectionCheck using callback
does not call the callback when retrieving values
http://code.google.com/p/pyxmlcheck/issues/detail?id=12

This issue was closed by revision r33.
Reply all
Reply to author
Forward
0 new messages