Joel Bender
|
11caa8a18a
|
add __lt__ function to make tasks orderable (so heappush is happy in py34), update metaclass syntax in py34 singleton
|
2015-08-09 23:26:03 -04:00 |
|
Joel Bender
|
bbcf3c2bc0
|
synchronize task changes with other sources
|
2015-08-09 22:09:11 -04:00 |
|
Joel Bender
|
67245e2184
|
simplify the variable names for the client state machine test and add the server state machine test
|
2015-08-09 21:34:29 -04:00 |
|
Joel Bender
|
5c48d915e8
|
add tests
|
2015-08-09 12:32:44 -04:00 |
|
Joel Bender
|
cfce2d30cb
|
add tests for state transition timeouts using the time machine
|
2015-08-09 12:32:09 -04:00 |
|
Joel Bender
|
816c652bbf
|
include time limit in tests, add some tests
|
2015-08-09 12:30:47 -04:00 |
|
Joel Bender
|
1a20f27c8f
|
add trapped client and server classes
|
2015-08-09 12:29:29 -04:00 |
|
Joel Bender
|
46249dd55a
|
make the time limit manditory, and make sure the machine runs up to, but does not exceed, the limit
|
2015-08-09 12:28:46 -04:00 |
|
Joel Bender
|
523e462fbf
|
rename the test task manager to TimeMachine
|
2015-08-08 22:07:38 -04:00 |
|
Joel Bender
|
9300a483d1
|
still working time machine simulator
|
2015-08-07 17:02:31 -04:00 |
|
Joel Bender
|
379156b1e6
|
create a test task manager, which could use some tests...lol
|
2015-08-06 23:57:16 -04:00 |
|
Joel Bender
|
9e72caa716
|
shuffling test components around, adding additional state machine tests
|
2015-08-06 23:45:03 -04:00 |
|
Joel Bender
|
8858c81aa7
|
move the trapped classes to their own module
|
2015-08-06 21:53:14 -04:00 |
|
Joel Bender
|
0f37c39191
|
starting to put together state machine tests
|
2015-08-05 23:52:19 -04:00 |
|
Joel Bender
|
db3369af40
|
if the start_state or unexpected_receive_state parameters were provided, bind them to the machine and keep track of them
|
2015-08-05 23:49:36 -04:00 |
|
Joel Bender
|
a8149cd5dc
|
add a reset function to states, call it when the state machine resets
|
2015-08-05 23:28:23 -04:00 |
|
Joel Bender
|
f01c0cab17
|
empty shell for testing state machines
|
2015-08-03 16:00:41 -04:00 |
|
Joel Bender
|
298f1d4103
|
state machine classes are added and deflaked, tests are next
|
2015-08-03 15:52:56 -04:00 |
|
Joel Bender
|
181e224ae0
|
a little better parameter type checking, a lot more tests
|
2015-08-03 14:29:58 -04:00 |
|
Joel Bender
|
4570f1dbfc
|
merge resolved - testing in wrong branch
|
2015-08-03 01:03:17 -04:00 |
|
Joel Bender
|
2c0280c6c4
|
add some address testing
|
2015-08-03 00:56:20 -04:00 |
|
Joel Bender
|
7f80cc43d8
|
merge resolved
|
2015-08-03 00:52:23 -04:00 |
|
Joel Bender
|
9c8ec37938
|
change all the signed octet pack/unpack to unsigned
|
2015-08-02 23:12:58 -04:00 |
|
Joel Bender
|
85a8ce9558
|
fixes #10
|
2015-08-02 22:17:11 -04:00 |
|
Joel Bender
|
8d6508a853
|
turn the first byte into an int, then pass to str()
|
2015-07-31 23:23:44 -04:00 |
|
Joel Bender
|
b7fe2d132b
|
mirror the change
|
2015-07-31 22:49:40 -04:00 |
|
Joel Bender
|
fdfcf23fbf
|
message type field is unsigned
|
2015-07-31 22:42:21 -04:00 |
|
Joel Bender
|
8cba67d803
|
minor stylistic change
|
2015-07-31 21:56:25 -04:00 |
|
Joel Bender
|
2f6d7170c3
|
Merge branch 'issue-6' of https://github.com/ChristianTremblay/bacpypes into ChristianTremblay-issue-6
|
2015-07-31 21:51:29 -04:00 |
|
Joel Bender
|
263853760c
|
backport changes to py25 and py27
|
2015-07-31 21:42:42 -04:00 |
|
Joel Bender
|
6b5c58e5ac
|
Merge pull request #6 from ChristianTremblay/issue-5
Issue 5
|
2015-07-31 21:37:32 -04:00 |
|
Christian Tremblay
|
937da35780
|
No need to struct.unpack as pdu.pduData is already hex in that specific context
Signed-off-by: Christian Tremblay <christian.tremblay@servisys.com>
|
2015-07-31 19:58:25 -04:00 |
|
Christian Tremblay
|
cecb6770cd
|
Forgotten xrange replaced by range
Signed-off-by: Christian Tremblay <christian.tremblay@servisys.com>
|
2015-07-31 19:22:56 -04:00 |
|
Christian Tremblay
|
f130a42ca9
|
Correct property named as in object.py line 342 is vendorIdentifier, not vendorId
Signed-off-by: Christian Tremblay <christian.tremblay@servisys.com>
|
2015-07-31 19:21:32 -04:00 |
|
Joel Bender
|
37ae6d00f6
|
working on issue 5
|
2015-07-30 23:16:55 -04:00 |
|
Joel Bender
|
fb192ea623
|
fixes #4
|
2015-07-23 13:44:19 -04:00 |
|
Joel Bender
|
f7da4242a9
|
Merge branch 'issue-3'
|
2015-07-23 02:51:19 -04:00 |
|
Joel Bender
|
0a7300f894
|
add debugging pieces to sync with py27
|
2015-07-23 02:46:45 -04:00 |
|
Joel Bender
|
e7d315ef8b
|
in theory fixes #3
|
2015-07-23 02:42:17 -04:00 |
|
Joel Bender
|
699a7805d4
|
in theory fixes #2
|
2015-07-23 02:15:19 -04:00 |
|
Joel Bender
|
5fbc1b1cb3
|
in theory this fixes #1
|
2015-07-23 02:04:50 -04:00 |
|
Joel Bender
|
717a2dfa63
|
typo
|
2015-07-17 10:44:44 -04:00 |
|
Joel Bender
|
d40a022c5c
|
move test code to py25 syntax
|
2015-07-17 10:42:34 -04:00 |
|
Joel Bender
|
eabe41ca0b
|
argparse wrapper so the library can be used without it
|
2015-07-17 10:41:50 -04:00 |
|
Joel Bender
|
f9b1c4cead
|
a wandering octet crossed into this lane
|
2015-07-17 09:58:16 -04:00 |
|
Joel Bender
|
ff1299da9a
|
except statement wrong format
|
2015-07-17 09:55:39 -04:00 |
|
Joel Bender
|
1305d12017
|
remove flakes
|
2015-07-17 09:45:39 -04:00 |
|
Joel Bender
|
f0af96c55b
|
remove flakes
|
2015-07-17 09:24:05 -04:00 |
|
Joel Bender
|
4a7870ae12
|
removing flakes
|
2015-07-16 17:01:44 -04:00 |
|
Joel Bender
|
72ff10a79e
|
removing flakes
|
2015-07-16 16:53:21 -04:00 |
|