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

Multiple Dogtail tests improvements #562

Closed
wants to merge 1 commit into from

Conversation

atodorov
Copy link
Contributor

  • use unittest.skipIf and execute via nosetests_root.sh
  • remove support for anacondaArgs because it was not used
  • screenshots are placed in the correct test results directory
  • logs are collected on test failures too
  • cleanup mounted filesystems and update anaconda-cleanup to
    use the new BlockDev loop plugin along the way

This is in order to add these tests to make ci. The CI environment only needs X display configured and accessibility enabled.

@atodorov
Copy link
Contributor Author

Ping, any updates here ?

Btw the CantReclaimTestCase fails b/c there is no more "No Space" dialog present. The user is left with the option to reclaim disk space, although the entire disk size is smaller that what is required to install the selected package set. Is this intentional ?

# Tests will click the Reboot or Quit button which will shutdown anaconda.
# We need to make sure /mnt/sysimage/* are unmounted and device mapper devices
# are removed before starting the next test.
subprocess.call(["%s/scripts/anaconda-cleanup" % os.environ.get("top_srcdir", "")],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If $top_srcdir isn't set, this will mean /scripts/anaconda-cleanup will get run. You probably want ./scripts/anaconda-cleanup to get run instead. So:

os.environ.get("top_srcdir", ".")

- use unittest.skipIf and execute via nosetests_root.sh
- remove support for anacondaArgs because it was not used
- screenshots are placed in the correct test results directory
- logs are collected on test failures too
- cleanup mounted filesystems and update anaconda-cleanup to
use the new BlockDev loop plugin along the way
@clumens
Copy link
Contributor

clumens commented Mar 31, 2016

Merged manually, thanks.

@clumens clumens closed this Mar 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants