1
0
mirror of https://github.com/JoelBender/bacpypes synced 2025-10-05 22:18:16 +08:00
Commit Graph

954 Commits

Author SHA1 Message Date
Joel Bender
b5d2b56191 make the str() of a CharacterString more closely match an OctetString because the strValue is an octet string 2015-09-05 23:56:56 -04:00
Joel Bender
6d804c4df1 match tests with updated str() results 2015-09-05 23:40:30 -04:00
Joel Bender
b468f724b8 manually merge in fixes already in stage 2015-09-05 23:24:33 -04:00
Joel Bender
f0919d27b7 wandering sys.stderr.write commented out 2015-09-05 22:50:21 -04:00
Joel Bender
2bdfcae2bf changing the str() function to more closely match the other primitive types 2015-09-05 22:39:09 -04:00
Joel Bender
725ea476b8 missed a conflict 2015-09-05 22:36:53 -04:00
Joel Bender
5eb4f820be it seems like I ripped the bytearray stuff out of py25 once already 2015-09-05 22:27:41 -04:00
Joel Bender
d0249dd799 bring issue up-to-date with the stage 2015-09-05 18:07:01 -04:00
Joel Bender
af7e2e34a4 date class rolled in 2015-09-05 18:02:17 -04:00
Joel Bender
c89ffbc61f add an alternative to date parsing 2015-09-03 22:40:05 -04:00
Joel Bender
2f14f1d87b remove tests that should have been removed before - odd - sigh 2015-09-01 11:20:38 -04:00
Joel Bender
a4f07bac9b manually merge in Date class changes from #48 2015-09-01 11:18:05 -04:00
Joel Bender
3de6409f9e move test modules into subdirectories 2015-08-31 22:59:48 -04:00
Joel Bender
1881dcfdbc merge issue-48 branch for discussion 2015-08-31 22:35:49 -04:00
Christian Tremblay, ing
b483a3608b Removed files from branch... they should not be there
Signed-off-by: Christian Tremblay, ing. <christian.tremblay@servisys.com>
2015-08-31 22:10:27 -04:00
Christian Tremblay, ing
4a2770c5d6 Tried to add a lot of flexibility to the Date object.
Regex now recognize a lot of different formats
Deal with errors when trying to find day of week
test_date.py covers a lot of different formats but can be improved.

Signed-off-by: Christian Tremblay, ing. <christian.tremblay@servisys.com>
2015-08-31 22:06:44 -04:00
Christian Tremblay, ing
736187580b Modifications to Date object to handle multiple string format
Signed-off-by: Christian Tremblay, ing. <christian.tremblay@servisys.com>
2015-08-29 21:29:18 -04:00
Joel Bender
5b2f5a56d1 merging in issue-41 2015-08-25 23:08:56 -04:00
Joel Bender
703f1b06da new sample code, seems to work 2015-08-25 23:06:52 -04:00
Joel Bender
db3a06fe12 minor changes to allow these to continue to work in py25 2015-08-25 22:26:21 -04:00
Joel Bender
37c665000a minor changes to allow these to continue to work in py25 2015-08-25 22:12:33 -04:00
Joel Bender
985c69dd7e Python 2.5 has neither bytes nor bytearray 2015-08-25 22:10:03 -04:00
Joel Bender
ec832663bf merging in stage for bugs that have already been fixed 2015-08-25 21:27:19 -04:00
Joel Bender
41199871a2 starting with the SourceForge samples 2015-08-25 21:26:08 -04:00
Joel Bender
dea0667930 line up the tests 2015-08-25 10:33:12 -04:00
Joel Bender
350333fb89 whip through the __mro__ looking for enumerations, polish the __str__ 2015-08-25 10:32:26 -04:00
Joel Bender
0e0bc2a530 enabled tests 2015-08-24 23:34:51 -04:00
Joel Bender
0b6544f206 adjusted encoding, it relies on tagLVT being zero and tagData being b'' for opening and closing tags 2015-08-24 23:33:15 -04:00
Christian Tremblay, ing
852b1833dc Work started for date object parsing using regex
Signed-off-by: Christian Tremblay, ing. <christian.tremblay@servisys.com>
2015-08-24 23:14:25 -04:00
Joel Bender
053a8fd418 test passes, good to go 2015-08-24 22:57:51 -04:00
Joel Bender
d358a6246d moved the isinstance check 2015-08-24 22:54:50 -04:00
Joel Bender
cda30b337a fixed #47 2015-08-24 22:19:31 -04:00
Joel Bender
a0535f621a add some tests 2015-08-24 22:16:58 -04:00
Joel Bender
5c51cf1bc3 fixed the bug, added wildcard patterns 2015-08-24 22:04:10 -04:00
Christian Tremblay, ing
5dc0349d39 Merge branch 'master' of https://github.com/JoelBender/bacpypes 2015-08-24 20:29:41 -04:00
Joel Bender
5867420485 continuing #38, fixed py34 problems running tests 2015-08-24 15:29:49 -04:00
Joel Bender
00a74fb8a2 make a clearer distinction between the value (str) and encoded value (bytes) (again?) 2015-08-24 14:03:42 -04:00
Joel Bender
46f9b19fbf make it a little easier to create application encoded integer tags 2015-08-24 13:39:11 -04:00
Joel Bender
6c69796008 continuing #38, merging in 2015-08-23 23:06:38 -04:00
Joel Bender
1dcbddeca8 additional tag and tag list tests 2015-08-23 22:43:31 -04:00
Joel Bender
95d949bcfc add the -very crude- character string tests 2015-08-21 22:55:08 -04:00
Joel Bender
b9fda816ed just the outline of tag tests 2015-08-21 00:58:58 -04:00
Joel Bender
f0445907a8 added object type tests, found a missing feature, issue #52 2015-08-21 00:00:16 -04:00
Joel Bender
a3005ea17c enabled enumeration tests after fixing #51 2015-08-20 23:25:04 -04:00
Joel Bender
2f7bec0da4 merge in stage to keep going 2015-08-20 23:22:53 -04:00
Joel Bender
d88e11b442 merging issue-51 fixes #51 2015-08-20 23:20:20 -04:00
Joel Bender
d6c5a4c8e5 fixed the type test in py25 and py27 2015-08-20 23:18:25 -04:00
Joel Bender
14924a3272 added enumeration tests and found bugs, made issues #50 and #51 2015-08-20 23:09:34 -04:00
Joel Bender
315b586a90 add object identifier tests (see issues, missing vendor tests) 2015-08-20 00:34:58 -04:00
Joel Bender
53a0447bd2 add date tests 2015-08-20 00:11:52 -04:00