Charles LeDoux
cadeb1ca9f
Fix require_one_program to actually require only one
...
Why:
* Currently uses an any which means *all* programs will be required.
This change addresses the need by:
* Switchs the *all* to an *any* so that at least one is required
2017-12-27 18:26:50 -06:00
Charles LeDoux
4d1b37a58d
Call instead of raise pytest.raise()
...
Why:
* pytest.raise is not an exception.
2017-12-27 18:26:50 -06:00
Bastian Kleineidam
d8688491d9
Updated copyright
2015-07-19 19:29:01 +02:00
Bastian Kleineidam
9f4f86928d
Updated copyright.
2014-03-30 10:00:10 +02:00
Bastian Kleineidam
cee88ecb60
Replace baker with argparse; some code restructuration.
2013-02-25 21:04:02 +01:00
Bastian Kleineidam
0385ad63b5
Skip zoo archive tests on Travis.
2013-02-23 09:01:31 +01:00
Bastian Kleineidam
c5cf15a987
Cleanup test utility functions, add needs_module().
2013-02-22 18:37:28 +01:00
Bastian Kleineidam
d7f453cc34
Add Python3 support.
2012-11-19 20:58:42 +01:00
Bastian Kleineidam
f409b5bba6
Split archive tests
2012-11-14 20:24:34 +01:00
Bastian Kleineidam
99b25d8bca
Whitespace cleanup.
2012-08-04 13:39:29 +02:00
Bastian Kleineidam
14cfeb9607
Add support for shar and unshar.
2012-05-25 22:07:22 +02:00
Bastian Kleineidam
59a6975345
Fix tests.
2012-05-25 21:22:40 +02:00
Bastian Kleineidam
f82e1d3d22
Check archive creation result.
2012-05-25 20:12:22 +02:00
Bastian Kleineidam
8ed2392f46
Fix test cases
2012-05-25 15:01:18 +02:00
Bastian Kleineidam
216faeaf0e
Add lcab support.
2012-05-24 23:17:37 +02:00
Bastian Kleineidam
df3863e177
Improved tests.
2012-05-24 23:09:37 +02:00
Bastian Kleineidam
3f22dae399
Fix codec detection.
2012-05-23 05:19:14 +02:00
Bastian Kleineidam
de18ff9ca3
Support SHN (.shn) files with shorten.
2012-05-17 14:28:12 +02:00
Bastian Kleineidam
825f959d78
Fix test for monkeys audio compressor.
2012-05-17 11:31:00 +02:00
Bastian Kleineidam
ac963df850
Fix keyword argument in archive tests.
2012-05-17 11:28:05 +02:00
Bastian Kleineidam
2ba54ee73a
Allow specification of source file for archive tests.
2012-05-17 11:27:03 +02:00
Bastian Kleineidam
b3b48adf39
Code cleanup: remove CompressionPrograms map.
2012-05-17 09:08:28 +02:00
Bastian Kleineidam
ef8c0e595c
Python module programs now have a py_ suffix.
2012-05-12 13:36:59 +02:00
Bastian Kleineidam
79a376ce4e
Rename encoding to compression in the context of archive handling. Makes more sense.
2012-05-12 09:31:27 +02:00
Bastian Kleineidam
e7f8e00bc5
Support TAR file handling with the Python tarfile module.
2012-05-12 09:00:55 +02:00
Bastian Kleineidam
47c43a57b1
Updated copyright.
2012-04-08 18:54:37 +02:00
Bastian Kleineidam
4d0509e893
Ignore errors getting the current working directory.
2012-04-06 12:58:15 +02:00
Bastian Kleineidam
26ab2a3acb
Rename test directory
2010-04-05 02:22:25 +02:00
Bastian Kleineidam
6e2433aa00
Test shell quoting.
2010-04-04 20:28:37 +02:00
Bastian Kleineidam
82708b74fa
Added support for RZIP (.rz) archives.
2010-03-20 11:34:40 +01:00
Bastian Kleineidam
5d66704369
Added new command "patool repack".
2010-03-11 18:33:58 +01:00
Bastian Kleineidam
aafeea7d94
Test with relative pathnames
2010-03-10 20:22:59 +01:00
Bastian Kleineidam
9a420df3a4
Run AR format tests only on POSIX systems.
2010-03-08 22:04:27 +01:00
Bastian Kleineidam
83f355634b
Change back to old working directory after changing it for tests.
2010-03-08 18:05:59 +01:00
Bastian Kleineidam
22dd316db9
Assert that created archive exists in archive test.
2010-03-06 19:21:20 +01:00
Bastian Kleineidam
6cba779475
Added support for AR (.a) archives.
2010-03-06 16:52:13 +01:00
Bastian Kleineidam
aff6657980
Added --verbose option to create command
2010-03-06 14:01:02 +01:00
Bastian Kleineidam
2692c7f84f
Remove --force option.
2010-03-06 11:33:44 +01:00
Bastian Kleineidam
2577a454b9
Added support for creating ZIP archives.
2010-03-03 22:04:06 +01:00
Bastian Kleineidam
fbc4a15cd1
Add format and encoding keyword arguments when testing archive creation. This is needed for files with uncommon filename extensions.
2010-03-03 20:13:03 +01:00
Bastian Kleineidam
56e103ce01
Renamed find_codec() to has_coded() to reflect that the function does not find, but only check if the codec is available.
2010-03-01 16:18:36 +01:00
Bastian Kleineidam
9a80938e0a
Add and use find_program() utility method instead of calling distutils find_executable directly.
2010-03-01 16:10:17 +01:00
Bastian Kleineidam
fdb1f398bf
Moved p7zip_supports_rar() function to util package where it belongs.
2010-03-01 16:05:32 +01:00
Bastian Kleineidam
c647f65a87
Test if encoding is supported by the archive program.
2010-02-23 19:31:14 +01:00
Bastian Kleineidam
017f9a155c
Ensure executable exists when checking encoding for a program
2010-02-23 07:32:13 +01:00
Bastian Kleineidam
ef668ddc94
Added check for supported tar and 7z codecs
2010-02-22 21:55:29 +01:00
Bastian Kleineidam
f29b31ec42
Use instance variable for program to run; and rename cmd to program
2010-02-22 21:30:47 +01:00
Bastian Kleineidam
6790380c70
Implemented create command
2010-02-21 15:48:52 +01:00
Bastian Kleineidam
2587bfda86
Added test archive command.
2010-02-21 13:40:42 +01:00
Bastian Kleineidam
1e3a72bdaa
Initial commit
2010-02-21 12:14:57 +01:00