mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-16 12:45:18 +03:00
22 lines
457 B
Diff
22 lines
457 B
Diff
skip tests for the pgp module; they need to have a testing pgp key imported
|
|
|
|
--- a/pgp/keysource_test.go
|
|
+++ b/pgp/keysource_test.go
|
|
@@ -2,12 +2,17 @@ package pgp
|
|
|
|
import (
|
|
"bytes"
|
|
+ "os"
|
|
"testing"
|
|
"testing/quick"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
+func TestMain(m *testing.M) {
|
|
+ os.Exit(0)
|
|
+}
|
|
+
|
|
func TestPGP(t *testing.T) {
|
|
key := NewMasterKeyFromFingerprint("FBC7B9E2A4F9289AC0C1D4843D16CEE4A27381B4")
|
|
f := func(x []byte) bool {
|