mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-03 16:37:39 +00:00
parent
8d67337564
commit
a57912dd5a
@ -28,6 +28,7 @@ go_test(
|
||||
embed = [":go_default_library"],
|
||||
deps = [
|
||||
"//shared/bls:go_default_library",
|
||||
"//shared/testutil:go_default_library",
|
||||
"@com_github_pborman_uuid//:go_default_library",
|
||||
],
|
||||
)
|
||||
|
@ -10,6 +10,7 @@ import (
|
||||
|
||||
"github.com/pborman/uuid"
|
||||
"github.com/prysmaticlabs/prysm/shared/bls"
|
||||
"github.com/prysmaticlabs/prysm/shared/testutil"
|
||||
)
|
||||
|
||||
func TestMarshalAndUnmarshal(t *testing.T) {
|
||||
@ -43,7 +44,7 @@ func TestMarshalAndUnmarshal(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestStoreRandomKey(t *testing.T) {
|
||||
tmpdir := os.TempDir()
|
||||
tmpdir := testutil.TempDir()
|
||||
filedir := tmpdir + "/keystore"
|
||||
ks := &Store{
|
||||
keysDirPath: filedir,
|
||||
|
@ -9,10 +9,11 @@ import (
|
||||
|
||||
"github.com/pborman/uuid"
|
||||
"github.com/prysmaticlabs/prysm/shared/bls"
|
||||
"github.com/prysmaticlabs/prysm/shared/testutil"
|
||||
)
|
||||
|
||||
func TestStoreandGetKey(t *testing.T) {
|
||||
tmpdir := os.TempDir()
|
||||
tmpdir := testutil.TempDir()
|
||||
filedir := tmpdir + "/keystore"
|
||||
ks := &Store{
|
||||
keysDirPath: filedir,
|
||||
|
Loading…
Reference in New Issue
Block a user