1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-02-24 23:13:25 +00:00
Commit graph

8289 commits

Author SHA1 Message Date
TW
f33efc0a10
Merge pull request #7740 from ThomasWaldmann/black-and-flake8
simplify flake8 config, fix some complaints
2023-07-26 02:17:58 +02:00
Thomas Waldmann
aa0d12a09c
fix E402 2023-07-26 01:24:36 +02:00
Thomas Waldmann
5013121bd8
fix E501 2023-07-26 01:24:20 +02:00
Thomas Waldmann
6151b369c4
fix E741 2023-07-26 01:24:00 +02:00
Thomas Waldmann
35ac39b751
fix F401 2023-07-26 01:23:37 +02:00
Thomas Waldmann
3017701958
simplify flake8 configuration
we use black since a while, so some stuff does not need to be ignored any more.
2023-07-25 23:56:31 +02:00
TW
c0001fb6ea
Merge pull request #7738 from ThomasWaldmann/fix-disk-full-test-master
fix test_disk_full, fixes #7617
2023-07-25 22:49:50 +02:00
Thomas Waldmann
b0497499cc
fix test_disk_full, fixes #7617
- master branch has different free space requirements from 1.2-maint,
  so we now use a 700MB filesystem
- used pytest.mark.parametrize for the test passes, kind of a progress
  display
- fix bug in rcreate call, encryption arg is needed
- fix bug in lock file cleanup
- added repo space cleanup
- updated docstring with current linux instructions (ubuntu)
- stopped using the "reserved" files, the "input" files are good enough
  to get some space freed.
-
2023-07-25 22:13:36 +02:00
TW
a592cf4d02
Merge pull request #7736 from ThomasWaldmann/tests-cleanup
remove unused methods of BaseTestCase
2023-07-25 15:54:17 +02:00
Thomas Waldmann
b97c3d3a55
simplify BaseTestCase.assert_raises 2023-07-25 15:14:46 +02:00
Thomas Waldmann
a2e7854911
simplify changedir with @contextmanager 2023-07-25 15:12:32 +02:00
Thomas Waldmann
02fcabe31f
remove unused methods of BaseTestCase
also: clean up imports / comments
2023-07-25 15:07:53 +02:00
TW
5babcf475c
Merge pull request #7735 from ThomasWaldmann/tests-with-env-var
tests: remove usage of environment_variable context manager, fixes #1002
2023-07-25 14:24:49 +02:00
Thomas Waldmann
b8a52a4769
tests: remove usage of environment_variable context manager
rather use monkeypatch.setenv/delenv.
2023-07-25 13:29:02 +02:00
Ted Lawson
2e59a702f6
cmd function now creates repo_location argument (#7734)
f'repo={repo_location}' moved to 'cmd' function
2023-07-24 23:54:47 +02:00
TW
e1cd38a0df
Merge pull request #7722 from bigtedde/archiver-tests
Archiver folder - all tests converted from unittest to pytest
2023-07-23 15:07:03 +02:00
bigtedde
6f35f5b0a4 simplified remote repo check 2023-07-22 23:39:10 -07:00
bigtedde
b8b80c5fef get_kind added to ArchiverSetup 2023-07-20 21:32:23 -07:00
bigtedde
683bf7275a redundent comments 2023-07-20 21:04:32 -07:00
TW
989b4fe88b
Merge pull request #7730 from ThomasWaldmann/authenticated_no_key-master
BORG_WORKAROUNDS=authenticated_no_key to extract from authenticated repos without key, fixes #7700
2023-07-20 18:34:50 +02:00
Thomas Waldmann
d5ffa59c91
bugfix: skip TAM check with BORG_WORKAROUNDS=authenticated_no_key
This is an emergency workaround for authenticated repos
if the user has lost the borg key.

We can't compute the TAM key without the borg key, so just
skip all the TAM stuff.
2023-07-20 17:54:33 +02:00
Thomas Waldmann
3051473168
BORG_WORKAROUNDS=authenticated_no_key to extract from authenticated repos without key, fixes #7700 2023-07-20 17:17:28 +02:00
bigtedde
0fa103460b removed 'prefix' 2023-07-19 17:24:15 -07:00
bigtedde
975a094e6e generate_archiver_tests added: generate tests by specifying kinds of archivers 2023-07-19 16:23:42 -07:00
bigtedde
7f1847ef85 typehint and initialize variable in ArchiverSetup init 2023-07-16 15:47:36 -07:00
bigtedde
8a5664dcfd remote archiver prefix check 2023-07-16 14:01:06 -07:00
bigtedde
fcddbc6356 Fixed: camelcase, generate test dupe, init vars declerations, general cleanup 2023-07-16 13:33:54 -07:00
bigtedde
0c899a7985 extract_cmd cleanup 2023-07-13 20:14:04 -04:00
bigtedde
bbb5340e8c diff_cmd cleanup 2023-07-13 19:52:59 -04:00
bigtedde
535b336b14 delete_cmd cleanup 2023-07-13 19:37:32 -04:00
bigtedde
3a7ee07cf3 debug_cmds cleanup 2023-07-13 19:33:56 -04:00
bigtedde
225fdb0b72 increased readability in delete_cmd 2023-07-13 17:29:11 -04:00
bigtedde
eb37f4b9aa corrupted_archiver changed from fixture to function call 2023-07-13 17:26:12 -04:00
bigtedde
7fea384fa7 removed print statement from transfer_cmd 2023-07-13 17:16:30 -04:00
bigtedde
9a8d5da822 ValueError added in 'open_repository' 2023-07-13 15:51:58 -04:00
bigtedde
73c178d628 cleanup create_cmd 2023-07-13 15:42:50 -04:00
bigtedde
b2d8210e5d testsuite/benchmark.py - 'cmd' -> 'cmd_fixture' 2023-07-13 11:45:59 -04:00
bigtedde
f502941137 check_cmd cleaned up 2023-07-13 11:27:18 -04:00
bigtedde
fdb21af6e6 cleanup bypass_lock_option tests 2023-07-13 11:09:12 -04:00
Ted Lawson
33645ad38a
Repo tests - conversion to pytest (#7626) 2023-07-11 01:40:51 +02:00
Ted Lawson
7df34fc4a6
Archive pytest conversion (#7661)
parameterized stats_progress and timestamp_parsing tests
2023-07-11 01:14:51 +02:00
TW
56dfc6dc04
Merge pull request #7567 from azrdev/patch-1
automated-local.rst: use GPT UUID for consistent udev rule
2023-07-11 00:06:25 +02:00
TW
52db16b3eb
Merge pull request #7714 from PhrozenByte/docs-check-rewrite
Docs: Rewrite `borg check` docs
2023-07-11 00:00:07 +02:00
Daniel Rudolf
2647673dc8
Docs: Improve borg check docs 2023-07-10 22:41:24 +02:00
bigtedde
1e5c62f1a1 test_unix_socket fix 2023-07-09 22:12:03 -04:00
bigtedde
912df41c4a test_unix_socket fix 2023-07-09 21:42:37 -04:00
bigtedde
62bfd5e13a create_cmd changes 2023-07-09 18:32:02 -04:00
bigtedde
2c5f6645b4 changed socket path to secure temp file 2023-07-09 17:46:50 -04:00
bigtedde
ed02164b68 fixed fuse_mount CM 2023-07-09 17:32:31 -04:00
bigtedde
f1af13e544 removed unittest skips 2023-07-09 17:06:30 -04:00