• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pywbem / pywbemtools / test-2455
93%

Build:
DEFAULT BRANCH: master
Ran 28 Oct 2024 08:47AM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
test-2455

push

github

andy-maier
Fix issue with tests hiding default connection file.

Fixed by modifying code to use an alternate directory to for default
connection file and mockcache if env var PYWBEMCLI_ALT_HOME_DIR_ENVVAR
 is set. Thus the "home" directory for DEFAULT_CONNECTION_FILE, etc. is
defined by this env var if the env var is defined rather than being
the user home directory.

Moved the setup of the DEFAULT_CONNECTION_FILE and
DEFAULT_CONNECTION_DIR and MOCKCACHE dir from _utils.py to a new file
(_connection_file_names.py) in pywbemtools/pywbemcli because they
apply to only pywbemcli.

Cleaned up test_connection_cmds and test_general_options by
moving the test for file existence into cli_test_extensions.py common test
and removing all that code from the tests themselves. This allowed
removal of all code in pywbemcli/conftest.py. pywbecli/conftest
now contains fixtures to clean this test directory before and
after session and module levels

Modified the file/path for some of the ...MODEL... files in tests to
define the path instead of the file itself for the tests.

Fixed  minor issues in cli_test_extensions.py.

NOTE: cli_test_extensions will now fail if the env var
PYWBEMCLI_ALT_HOME_DIR is not set.

Modified some of the tests in test_connection_cmds.py because some
of the tests now use the default connection file since we also
removed the forced setting of the connection_file_args from within
the test code to using just what is defined for each test.
Source Files on build test-2455
Detailed source file information is not available for this build.
  • Back to Repo
  • edd16581 on github
  • Prev Build on master (#TEST-2454)
  • Next Build on master (#TEST-2459)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc