about common_test_methods

sangk82
Posts: 6
Joined: Wed Mar 13, 2024 6:20 am

about common_test_methods

Postby sangk82 » Mon Mar 25, 2024 8:39 am

Hi.
I'm on Windows11, vscode esp-idf.
When I tried to run examples like ws_echo_server or https_server_simple, there are python files as pytest_ws_server_example.py, pytest_https_server_simple.py.

in that files,

Code: Select all

import pytest
from common_test_methods import get_env_config_variable
from pytest_embedded import Dut
the problem is " common_test_methods ".
it can't find "common_test_methods" and causes error.
I installed commonmethods but it doesn't work.
how can I install or do something for this error.

thank you.

boaterly
Posts: 1
Joined: Wed May 01, 2024 10:15 pm

Re: about common_test_methods

Postby boaterly » Wed May 01, 2024 10:21 pm

The common_test_methods module can be found in your IDF installation.

For 5.2.1 it can be found in: esp-idf-v5.2.1\tools\ci\python_packages

Sansveni
Posts: 2
Joined: Tue Nov 22, 2022 3:00 pm

Re: about common_test_methods

Postby Sansveni » Wed May 22, 2024 3:55 pm

I see common_test_methods.py in the directory you mentioned...what needs to be done to install this as a module?

Who is online

Users browsing this forum: Bing [Bot] and 58 guests