~raharper/curtin/trunk.apt-config-validate

Viewing all changes in revision 411.

  • Committer: Scott Moser
  • Date: 2016-08-03 19:55:24 UTC
  • mfrom: (410.1.2 trunk.fix-tests)
  • Revision ID: smoser@ubuntu.com-20160803195524-ujhbyckrj6faeasx
fix apt tests on non-intel arch

The apt config tests were failing
a.) on non-amd64 arch because util.get_architecture() wasnt correctly
    mocked.
b.) arbitrarily based on test order.
   the change curtin/commands/apt_config.py is made because
   the test was modifying the return value and inadvertantly modifying
   the persistent (across test) files.

there are a few other test improvements here, mostly in line formating.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: