diff --git a/tests/test_auth.py b/tests/test_auth.py
index b3154123d903f14b99342755c2a470bf2749c1a5..7e0b37881e6f1d39d2f68851bed343a196cb49e9 100644
--- a/tests/test_auth.py
+++ b/tests/test_auth.py
@@ -36,10 +36,10 @@ from tests.patched.auth import (
     ],
 )
 def test_auth_method(seed, file, wif, auth_method_called, monkeypatch):
-    monkeypatch.setattr("silkaj.auth.auth_by_seed", patched_auth_by_seed)
-    monkeypatch.setattr("silkaj.auth.auth_by_wif", patched_auth_by_wif)
-    monkeypatch.setattr("silkaj.auth.auth_by_auth_file", patched_auth_by_auth_file)
-    monkeypatch.setattr("silkaj.auth.auth_by_scrypt", patched_auth_by_scrypt)
+    monkeypatch.setattr(auth, "auth_by_seed", patched_auth_by_seed)
+    monkeypatch.setattr(auth, "auth_by_wif", patched_auth_by_wif)
+    monkeypatch.setattr(auth, "auth_by_auth_file", patched_auth_by_auth_file)
+    monkeypatch.setattr(auth, "auth_by_scrypt", patched_auth_by_scrypt)
     ctx = click.Context(
         click.Command(""), obj={"AUTH_SEED": seed, "AUTH_FILE": file, "AUTH_WIF": wif}
     )