Eng Zer Jun
8e507075d1
test: replace defer cleanup with t.Cleanup
...
Reference: https://pkg.go.dev/testing#T.Cleanup
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-12-09 14:38:05 +00:00
Eng Zer Jun
8cf76f5e11
test: use T.TempDir
to create temporary test directory
...
The directory created by `T.TempDir` is automatically removed when the
test and all its subtests complete.
Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-02-01 11:47:04 +00:00
negative0
ed7af3f370
plugins: Create plugins files only if webui is enabled. Fixes #4592 . May fix #4600 .
2020-12-27 15:05:41 +00:00
Nick Craig-Wood
cc0421cb9e
rc/webgui: skip AddPlugin and RemovePlugin tests if download fails
2020-08-31 13:45:06 +01:00
Chaitanya Bankanhal
20300d1f61
plugins: Change failing plugin test to new repo rclone/rclone-test-plugin
2020-08-31 13:45:06 +01:00
Chaitanya Bankanhal
09b79679cd
plugins: restructure and add tests for pluginsctl/* calls
2020-08-24 10:56:04 +01:00