Uploaded image for project: 'openATTIC'
  1. openATTIC
  2. OP-3127

Running python-unit tests fails in virtualenv

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.6.2
    • Fix Version/s: None
    • Component/s: QA/Testing
    • Labels:

      Description

      Installed: python-virtualenv gcc python-devel

      script content:

      ssh root@$oa_nodecd openattic ; echo 'ALTER USER openattic CREATEDB;' | sudo -u postgres psql;"
      ssh root@$oa_node "cd openattic ; virtualenv -p python2 v"
      ssh root@$oa_node "cd openattic ; . v/bin/activate ; pip install --upgrade pip"
      ssh root@$oa_node "cd openattic ; . v/bin/activate ; pip install mock coverage"
      ssh root@$oa_node "cd openattic ; . v/bin/activate ; pip install -r requirements/default.txt"
      ssh root@$oa_node "cd openattic ; . v/bin/activate ; yes | coverage run --source="." ./backend/manage.py test -t . -v 2 && coverage xml 

       

        Attachments

          Activity

            People

            Assignee:
            swagner Sebastian Wagner
            Reporter:
            lpaduano Paduano, Laura
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: