forked from TrueCloudLab/frostfs-node
[#1309] test: Clean up config after tests
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
This commit is contained in:
parent
76f67ea34e
commit
dfe825b81b
2 changed files with 11 additions and 0 deletions
|
@ -24,6 +24,8 @@ var testCmd = &cobra.Command{
|
|||
}
|
||||
|
||||
func Test_getOrGenerate(t *testing.T) {
|
||||
t.Cleanup(viper.Reset)
|
||||
|
||||
dir := t.TempDir()
|
||||
|
||||
wallPath := filepath.Join(dir, "wallet.json")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue