Panu Matilainen
2bb9b21cf5
Add a couple of basic tests for python stringpool
2013-12-13 16:07:16 +02:00
Panu Matilainen
56028aab2b
Test rpmmi pattern match too while testing for the single instance thing
2013-03-26 12:55:53 +02:00
Panu Matilainen
035c52d2f4
Add a testcase for db iterator locked to single instance number
...
- Back in the day, this case used to cause an endless loop. Just
making sure we dont end up with such stupidity again...
2013-03-26 12:36:15 +02:00
Ville Skyttä
8002b3f985
Spelling fixes.
...
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2013-02-19 21:35:40 +02:00
Panu Matilainen
2a4333c18e
Add a testcase for tag extension bad file name triplet detection
2012-02-21 16:56:48 +02:00
Panu Matilainen
79bfdd7e9c
Add a basic testcase for bogus filename triplet detection
2012-01-28 18:13:01 +02:00
Panu Matilainen
5e4fb2589c
Add a basic testcase for bogus (incomplete) header detection
2012-01-28 15:54:40 +02:00
Panu Matilainen
5ee6b23f57
Add test for ts.clear() as a side-effect of add to ts test
2011-08-25 12:29:48 +03:00
Panu Matilainen
b4da788fd2
Add basic test for Ftell() in python
2011-07-11 10:13:00 +03:00
Panu Matilainen
d230d86168
Add a simple test for Fflush() functionality in python
...
- Prior to previous patch this segfaulted and tracebacked...
2011-07-08 14:57:31 +03:00
Panu Matilainen
eb94de6394
Teach python rpmio bindings about Fdescr()
...
- Similarly to python file object having o.name, export Fdescr()
as fd.name. Python uses <foo> for non-paths but [foo] seems like
a safer choice wrt accidental redirections.
- Also add a basic testcase for fd.name
2011-07-07 16:31:46 +03:00
Panu Matilainen
9feb035066
Add tests for header getattr() behavior sanity
2011-07-06 11:20:44 +03:00
Panu Matilainen
3464e60aa8
Add a simple and stupid test case for python spec parse
2011-07-01 12:33:55 +03:00
Panu Matilainen
3c10bcbe72
Add basic test for rpmio python bindings
2011-07-01 11:14:26 +03:00
Panu Matilainen
aa6fd62222
Add bunch of further rpm-python tests for this and that
2011-06-09 15:13:46 +03:00
Panu Matilainen
62bcf28ca4
Add a bunch of db match/key iterator test-cases in python
...
- This would've caught the breakage introduced in commit
7e4415fcc5
, but better late than never...
2011-06-09 13:44:10 +03:00
Panu Matilainen
9ba42047d8
Rearrange test-suite python helper macros a bit
...
- Handle double [] "escaping" at RPM_PYRUN to avoid surprises when
its used on its own
- Spin python-wrapped AT_CHECK into a macro of its own (RPMPY_CHECK)
- What formerly was RPMPY_CHECK is now RPMPY_TEST: this represents
one entire testcase with all its setup and cleanup, whereas
RPMPY_CHECK (the new one) might be used several times within a
single test
2011-06-09 13:19:14 +03:00
Panu Matilainen
8acb7f7c1d
Move python test-suite macros to local.at, rename
...
- We'll want to use these in other test parts than just python. Make
available everywhere and use "namespace" to avoid potential future
clashes.
2010-12-16 17:18:21 +02:00
Panu Matilainen
2a37d9a4dc
Add beginnings of python bindings test-suite
...
- Add some basic infrastructure: point PYTHONPATH to the testing
directory, helper macros to allow use of in-line python in test-suite
- Throw in a couple of simple tests for starters
2010-12-09 16:32:56 +02:00