Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test execution error #1939

Open
Nilsonfsilva opened this issue Nov 10, 2023 · 8 comments
Open

test execution error #1939

Nilsonfsilva opened this issue Nov 10, 2023 · 8 comments
Labels
bug Something isn't working

Comments

@Nilsonfsilva
Copy link

Hello, I'm running the Sherlock tests and I'm getting the following error:

================================================== = ====================
ERROR: test_area (sherlock.tests.test_multiple_usernames.TestMultipleUsernames.test_area)


Traceback (most recent last call):
File "/pkgs/trabalho/vilmar/pkg-sherlock/revisão/sherlock/.pybuild/cpython3_3.11_sherlock/build/sherlock/tests/test_multiple_usernames.py", line 26, in test_area
if(sh.CheckForParameter(name)):
^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'sherlock' does not have attribute 'CheckForParameter'

the import is not finding the sherlock module.
I applied the following correction:
-import sherlock as sh
+form sherlock import sherlock as sh

@Nilsonfsilva Nilsonfsilva added the bug Something isn't working label Nov 10, 2023
@andrito9755
Copy link

Is this issue still open?

@Nilsonfsilva
Copy link
Author

Hi!
Yes. I provisionally applied a patch, just to update to Debian.
If you decide to permanently fix it and upload a new version.
Would be excellent

@andrito9755
Copy link

Hey, could you explain this bug in more detail and how I can recreate it? I ran the tests, but I'm not seeing the same error message as you.

@thanujadinurangakumara
Copy link

hellow

@thanujadinurangakumara
Copy link

thanujadinurangakumara commented Dec 8, 2023 via email

@thanujadinurangakumara
Copy link

thanujadinurangakumara commented Dec 8, 2023 via email

@andrito9755
Copy link

ahm yes @thanujadinurangakumara ?

@Pasanlaksitha
Copy link

@Nilsonfsilva has been applied that patch @andrito9755 @thanujadinurangakumara

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants