mirror of
https://github.com/kubescape/kubescape.git
synced 2026-03-05 11:10:32 +00:00
Added unit tests for the following files: - containerscan/datastructures.go - hostsensorutils/hostsensordeploy.go - hostsensorutils/hostsensorworkerpool.go - hostsensorutils/utils.go - policyhandler/handlepullpolicies.go - policyhandler/handlepullpoliciesutils.go - resourcehandler/filesloader.go - resourcehandler/remotegitutils.go Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com>
14 lines
286 B
Go
14 lines
286 B
Go
package resourcehandler
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
// Initializes a new instance of FileResourceHandler.
|
|
func TestNewFileResourceHandler_InitializesNewInstance(t *testing.T) {
|
|
fileHandler := NewFileResourceHandler()
|
|
assert.NotNil(t, fileHandler)
|
|
}
|