Martin Pool
3bb4bd3ed6
* Ignore .pyc and .pyo files produced as a side-effect of running
...
Python examples.
0001-01-01 00:00:00 +00:00
Tim Potter
9f9347bc03
Fix typo in docstring.
0001-01-01 00:00:00 +00:00
Martin Pool
4a18526257
Remove non-integer Pointer values, which are no longer supported.
0001-01-01 00:00:00 +00:00
Martin Pool
2a492c4854
Add another test case for repeated-unpack ('$')
0001-01-01 00:00:00 +00:00
Martin Pool
db2c393dd4
Update test cases.
0001-01-01 00:00:00 +00:00
Martin Pool
7827536c15
Add more test cases that now work.
0001-01-01 00:00:00 +00:00
Martin Pool
a9c2817c79
Re-add some tests which do work with both implementations
0001-01-01 00:00:00 +00:00
Martin Pool
6be885da2c
Comment out test cases where the old and new parser are different.
0001-01-01 00:00:00 +00:00
Martin Pool
631945a03a
test_pack_extra: Add additional cases.
...
test_pack_failures: Remove cases for which old code is too lax.
0001-01-01 00:00:00 +00:00
Martin Pool
12c3bb99a5
test_pack_extra: Better way of testing packing with extra values.
0001-01-01 00:00:00 +00:00
Martin Pool
b0143e77d6
test_pack_extra: The old code does not complain when there are too
...
many data values for the format. Test that the new code behaves the
same way.
0001-01-01 00:00:00 +00:00
Martin Pool
04cad599f4
test_pack_failures: The old code does not complain when there are too
...
many data values for the format, so we don't test that here.
test_large: New test case for packing/unpack a thousand values.
0001-01-01 00:00:00 +00:00
Martin Pool
5ade138bb8
test_pack_failures: The old and new code is not exactly the same about
...
error detection, so now we don't care what exact error is returned as
long as we get something.
0001-01-01 00:00:00 +00:00
Martin Pool
ed0e4a670d
test_pack: Coercing a dictionary to a sequence as it is packed is not
...
compatible with the old code, and so it is removed from the test case.
0001-01-01 00:00:00 +00:00
Martin Pool
44dd7746ed
Test both new samba.tdbpack and oldtdbutil pack/unpack routines.
...
This makes the test suite fail because at the moment they are in fact
not behaving the same way.
0001-01-01 00:00:00 +00:00
Martin Pool
2dc4373727
Import old pure Python version of tdbpack/unpack, so that we can do
...
compatibility testing against the shiny new C version.
This version is slightly modified to not call codepage conversion
routines, and renamed tdbutil->oldtdbutil.
0001-01-01 00:00:00 +00:00
Martin Pool
e8f9fbd32b
Check in examples for tdb packer
0001-01-01 00:00:00 +00:00
Tim Potter
3e19e3afdb
Updated examples for new top level module layout.
...
Fixed some bugs also.
0001-01-01 00:00:00 +00:00
Tim Potter
68b9525614
Some examples using the spoolss python module.
0001-01-01 00:00:00 +00:00