Lee Bousfield
0a4a95eb17
Remove trailing whitespace
2016-07-27 10:05:51 -04:00
Thomas Waldmann
27c0d0f074
move attic test dependency into own file
...
so you can just empty that file to remove the attic-based tests
when testing in a OpenSSL 1.1 environment.
2016-06-21 20:06:36 +02:00
Thomas Waldmann
2a2362fc2f
add flake8 style checking
2016-01-30 22:01:27 +01:00
Thomas Waldmann
7d591226d2
remove support for python 3.2.x and 3.3.x, require 3.4+, fixes #65 , fixes #221
2016-01-24 14:57:48 +01:00
Thomas Waldmann
d7b6cc3527
fix .coverragerc path
...
as the cwd is in toxworkdir, .coveragerc is in ../
2015-11-01 22:36:18 +01:00
Thomas Waldmann
894546c3fe
skip the benchmarks by default, especially on travis
2015-10-19 11:47:24 +02:00
Antoine Beaupré
57801a288d
keep tests simple by always adding attic depends
...
note that we do not depend on attic to build borg, just to do those
tests. if attic goes away, we could eventually do this another way or
just stop testing this altogether.
2015-10-01 09:03:41 -04:00
Antoine Beaupré
c990829225
add attic dependency for build as a separate factor
...
this way we don't depend on attic for regular build, but we can still see proper test coverage
2015-10-01 00:51:19 -04:00
Thomas Waldmann
f138d06dd5
more platform support, works on py 3.5
...
xattrs and ACLs on OpenBSD and NetBSD need development or adaptation of
the platform-specific code.
2015-09-16 11:44:53 +02:00
Thomas Waldmann
5864bd76eb
fix test coverage / codecov.io, use xcode6.4
2015-08-08 18:31:41 +02:00
Thomas Waldmann
d65ca51d54
deduplicate and refactor the docs
...
README.rst (shown on github and also at the start of the html docs) shall
be like an elevator speech - convince readers in a very short time.
this is most important, everything else can come after we got the reader's interest.
include README into docs to avoid duplication.
also include CHANGES into docs.
add developer docs, move examples from tox.ini there
add separate support docs
remove glossary, most of what was there can be understood by an admin from context
move attic and compatibility note to the end
2015-08-06 12:59:51 +02:00
Roberto Polli
0b226aec7a
add development.txt and modify tox.ini
2015-07-25 15:39:42 +02:00
Thomas Waldmann
43bc1d5b6a
improved tox configuration, documented there how to invoke it
...
the usage of some py.test features in the previous locking changesets somehow broke the test environment.
it seems to help to point py.test to some specific package or module (and not just invoke "py.test" without arguments).
2015-07-13 18:45:49 +02:00
Thomas Waldmann
414dba3de7
remove usage of evil / broken unittest.mock, use mock from pypi
...
see testsuite.mock docstring for more details.
one test shows brokenness right now that was hidden / silent until now.
2015-07-12 23:08:44 +02:00
Thomas Waldmann
906ea629f6
use py.test for testing, document it
...
locally (via tox) and also on travis ci.
2015-05-22 21:26:41 +02:00
Thomas Waldmann
b5b1af2195
tox >= 2.0 needs passenv in tox.ini, so that fakeroot can work
...
tox 2.x does not inherit environment vars by default.
2015-05-22 19:30:56 +02:00
Thomas Waldmann
5e98400a5a
fix all references to package name
...
use relative imports if possible
reorder imports (1. stdlib 2. dependencies 3. borg 4. borg.testsuite)
2015-05-22 19:21:41 +02:00
Jonas Borgström
db0381e6f2
Add python 3.4 to the tox environment list
2014-05-03 14:21:10 +02:00
Jonas Borgström
8101017c1f
tox: Make sure mock is installed in the py32 env
2014-03-10 22:05:23 +01:00
Jonas Borgström
b718a443a8
Project rename
2013-07-09 20:14:18 +02:00
Jonas Borgström
701a940de7
Inline comments not supported in tox.ini
2013-07-05 12:36:49 +02:00
Jonas Borgström
bf4b13d9dc
More xattr code cleanup
2013-06-27 22:10:15 +02:00
Jonas Borgström
00bdfa1a8e
Add py3.2 compatible unhexlify to helpers.py
2013-06-26 22:00:23 +02:00
Jonas Borgström
06db9e897c
Various sphinx related fixes
2013-06-25 12:39:22 +02:00
Jonas Borgström
9421b64895
Test case refactoring
2013-06-25 12:05:58 +02:00
Jonas Borgström
8a2f555c68
Packaging improvements
2013-06-24 13:53:02 +02:00