tstor/src/sources/qbittorrent/install_test.go
royalcat f75188b412
All checks were successful
docker / build-docker (push) Successful in 4m11s
qbittorrent fs
2024-09-01 02:00:13 +03:00

18 lines
360 B
Go

package qbittorrent
import (
"context"
"testing"
"github.com/stretchr/testify/require"
)
func TestDownloadQBittorent(t *testing.T) {
ctx := context.Background()
tempDir := t.TempDir()
require := require.New(t)
err := downloadLatestQbitRelease(ctx, tempDir)
require.NoError(err)
err = downloadLatestQbitRelease(ctx, tempDir)
require.NoError(err)
}