So, I'd like to construct a unit test that ensures my code walks a tree of sensors (such as might be hanging off of a DS2409. However, the --tester parameter detailed at http://owfs.org/index.php?page=tester-adapter doesn't show a way to create a tree. In other words, all sensors show up on '/':
Simulated-Computed - / DS18S20 - /10.000010EF0000 DS1822 - /22.000022DD0100 DS2781 - /3D.00003DC20200 A command line such as this: ./tree.py --tester=10,22,3D -u --tester=01,05,1F,11 (That's the example pythontree program from the OWFS source code) Still only gives me: Simulated-Computed - / DS18S20 - /10.000010EF0000 DS1822 - /22.000022DD0100 DS2781 - /3D.00003DC20200 Is there a way to specify a tree in a --tester parameter? Also, specifying the DS2409 family (1F) in the --tester list, causes this to happen: DS2409 - /1F.00001FE00000 DS2409 - /1F.00001FE00000/main/1F.00001FE00000 DS2409 - /1F.00001FE00000/main/1F.00001FE00000/main/1F.00001FE00000 DS2409 - /1F.00001FE00000/main/1F.00001FE00000/main/1F.00001FE00000/main/1F.00001FE00000 DS2409 - /1F.00001FE00000/main/1F.00001FE00000/main/1F.00001FE00000/main/1F.00001FE00000/main/1F.00001FE00000 DS2409 - /1F.00001FE00000/main/1F.00001FE00000/main/1F.00001FE00000/main/1F.00001FE00000/main/1F.00001FE00000/main/1F.00001FE00000 And so on...getting longer and longer. It seems like a bug in the tester code. Insights appreciated! j -- Joshua J. Kugler - Fairbanks, Alaska Azariah Enterprises - Programming and Website Design [email protected] - Jabber: [email protected] PGP Key: http://pgp.mit.edu/ ID 0x73B13B6A ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
