Skip to content

Commit

Permalink
fix: correct typo module import patrickalphac test_repo for just test…
Browse files Browse the repository at this point in the history
… cli unit (#182)

- just test command failed due to wrong typo on vyper module import PatrickAlphaC.test_repo.
    - fixed import in vypers related files
- found other import failure on module Auth imported like auth initially
    - fixed import by using aliases
  • Loading branch information
s3bc40 authored Jan 19, 2025
1 parent 50fc88b commit 0acd37f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/data/complex_project/contracts/InitializedAuth.vy
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# pragma version ^0.4.0

import auth
import Auth as auth
import UninitializedAuth

initializes: auth
Expand Down
2 changes: 1 addition & 1 deletion tests/data/complex_project/contracts/UninitializedAuth.vy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# pragma version ^0.4.0
import auth
import Auth as auth

# This contract is not a valid contract. auth.__init__() must be called
# by a contract that imports and uses this contract
Expand Down
2 changes: 1 addition & 1 deletion tests/data/installation_project/src/MyToken.vy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# from snekmate.tokens import erc20
from snekmate.auth import ownable as ow
from snekmate.tokens import erc20
from PatrickAlphaC.test_repo import my_contract
from patrickalphac.test_repo import my_contract

initializes: ow
initializes: erc20[ownable := ow]
Expand Down

0 comments on commit 0acd37f

Please sign in to comment.