tstor/daemons/qbittorrent/install_test.go

19 lines
360 B
Go
Raw Normal View History

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)
2024-08-31 23:00:13 +00:00
err := downloadLatestQbitRelease(ctx, tempDir)
require.NoError(err)
2024-08-31 23:00:13 +00:00
err = downloadLatestQbitRelease(ctx, tempDir)
require.NoError(err)
}