Skip to content

Commit

Permalink
Converted Repository operator tests to Mockery (#461)
Browse files Browse the repository at this point in the history
This PR uses the approach and code described by @vjayaramrh in
#441 to replace the unit
tests for the Repository operator. This PR replaces all the unit tests
with Mockery implementations.
  • Loading branch information
liamfallon authored Feb 12, 2024
1 parent b33fe26 commit 3ddd4e2
Show file tree
Hide file tree
Showing 8 changed files with 692 additions and 166 deletions.
6 changes: 6 additions & 0 deletions .mockery.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
packages:
github.com/nephio-project/nephio/controllers/pkg/giteaclient:
interfaces:
GiteaClient:
config:
dir: "{{.InterfaceDir}}"
Loading

0 comments on commit 3ddd4e2

Please sign in to comment.