import pytest

@pytest.mark.parametrize("name", [
  ("apt-file"),
  ("apt-transport-https"),
  ("blktrace"),
  ("ca-certificates"),
  ("chromium-browser"),
  ("cron"),
  ("curl"),
  ("diod"),
  ("docker-ce"),
  ("fonts-font-awesome"),
  ("git"),
  ("gnupg"),
  ("handbrake"),
  ("handbrake-cli"),
  ("haveged"),
  ("htop"),
  ("i3"),
  ("iotop"),
  ("language-pack-en-base"),
  ("laptop-mode-tools"),
  ("nfs-common"),
  ("ntop"),
  ("ntp"),
  ("openssh-client"),
  ("openssh-server"),
  ("openssh-sftp-server"),
  ("openssl"),
  ("python"),
  ("python-pip"),
  ("software-properties-common"),
  ("suckless-tools"),
  ("sysstat"),
  ("tree"),
  ("vagrant"),
  ("vim"),
  ("vim-addon-manager"),
  ("vim-puppet"),
  ("vim-syntax-docker"),
  ("virtualbox"),
  ("vlc"),
  ("wget"),
  ("whois"),
  ("x264"),
  ("xfce4-terminal"),
  ("xfonts-terminus"),
  ("xinit"),
])

def test_packages(Package, name):
  assert Package(name).is_installed

import pytest

@pytest.mark.parametrize("name", [
  ("apt-file"),
  ("apt-transport-https"),
  ("blktrace"),
  ("ca-certificates"),
  ("chromium-browser"),
  ("cron"),
  ("curl"),
  ("diod"),
  ("docker-ce"),
  ("fonts-font-awesome"),
  ("git"),
  ("gnupg"),
  ("handbrake"),
  ("handbrake-cli"),
  ("haveged"),
  ("htop"),
  ("i3"),
  ("iotop"),
  ("language-pack-en-base"),
  ("laptop-mode-tools"),
  ("nfs-common"),
  ("ntop"),
  ("ntp"),
  ("openssh-client"),
  ("openssh-server"),
  ("openssh-sftp-server"),
  ("openssl"),
  ("python"),
  ("python-pip"),
  ("software-properties-common"),
  ("suckless-tools"),
  ("sysstat"),
  ("tree"),
  ("vagrant"),
  ("vim"),
  ("virtualbox"),
  ("vlc"),
  ("wget"),
  ("whois"),
  ("x264"),
  ("xfce4-terminal"),
  ("xfonts-terminus"),
  ("xinit"),
])

def test_packages(Package, name):
  assert Package(name).is_installed

Update for vim plugin changes
Update for vim plugin changes

  import pytest
  
  @pytest.mark.parametrize("name", [
    ("apt-file"),
    ("apt-transport-https"),
    ("blktrace"),
    ("ca-certificates"),
    ("chromium-browser"),
    ("cron"),
    ("curl"),
    ("diod"),
    ("docker-ce"),
    ("fonts-font-awesome"),
    ("git"),
    ("gnupg"),
    ("handbrake"),
    ("handbrake-cli"),
    ("haveged"),
    ("htop"),
    ("i3"),
    ("iotop"),
    ("language-pack-en-base"),
    ("laptop-mode-tools"),
    ("nfs-common"),
    ("ntop"),
    ("ntp"),
    ("openssh-client"),
    ("openssh-server"),
    ("openssh-sftp-server"),
    ("openssl"),
    ("python"),
    ("python-pip"),
    ("software-properties-common"),
    ("suckless-tools"),
    ("sysstat"),
    ("tree"),
    ("vagrant"),
    ("vim"),
-   ("vim-addon-manager"),
-   ("vim-puppet"),
-   ("vim-syntax-docker"),
    ("virtualbox"),
    ("vlc"),
    ("wget"),
    ("whois"),
    ("x264"),
    ("xfce4-terminal"),
    ("xfonts-terminus"),
    ("xinit"),
  ])
  
  def test_packages(Package, name):
    assert Package(name).is_installed
  
Update for vim plugin changes
## Code Before:
import pytest

@pytest.mark.parametrize("name", [
  ("apt-file"),
  ("apt-transport-https"),
  ("blktrace"),
  ("ca-certificates"),
  ("chromium-browser"),
  ("cron"),
  ("curl"),
  ("diod"),
  ("docker-ce"),
  ("fonts-font-awesome"),
  ("git"),
  ("gnupg"),
  ("handbrake"),
  ("handbrake-cli"),
  ("haveged"),
  ("htop"),
  ("i3"),
  ("iotop"),
  ("language-pack-en-base"),
  ("laptop-mode-tools"),
  ("nfs-common"),
  ("ntop"),
  ("ntp"),
  ("openssh-client"),
  ("openssh-server"),
  ("openssh-sftp-server"),
  ("openssl"),
  ("python"),
  ("python-pip"),
  ("software-properties-common"),
  ("suckless-tools"),
  ("sysstat"),
  ("tree"),
  ("vagrant"),
  ("vim"),
  ("vim-addon-manager"),
  ("vim-puppet"),
  ("vim-syntax-docker"),
  ("virtualbox"),
  ("vlc"),
  ("wget"),
  ("whois"),
  ("x264"),
  ("xfce4-terminal"),
  ("xfonts-terminus"),
  ("xinit"),
])

def test_packages(Package, name):
  assert Package(name).is_installed

## Instruction:
Update for vim plugin changes
## Code After:
import pytest

@pytest.mark.parametrize("name", [
  ("apt-file"),
  ("apt-transport-https"),
  ("blktrace"),
  ("ca-certificates"),
  ("chromium-browser"),
  ("cron"),
  ("curl"),
  ("diod"),
  ("docker-ce"),
  ("fonts-font-awesome"),
  ("git"),
  ("gnupg"),
  ("handbrake"),
  ("handbrake-cli"),
  ("haveged"),
  ("htop"),
  ("i3"),
  ("iotop"),
  ("language-pack-en-base"),
  ("laptop-mode-tools"),
  ("nfs-common"),
  ("ntop"),
  ("ntp"),
  ("openssh-client"),
  ("openssh-server"),
  ("openssh-sftp-server"),
  ("openssl"),
  ("python"),
  ("python-pip"),
  ("software-properties-common"),
  ("suckless-tools"),
  ("sysstat"),
  ("tree"),
  ("vagrant"),
  ("vim"),
  ("virtualbox"),
  ("vlc"),
  ("wget"),
  ("whois"),
  ("x264"),
  ("xfce4-terminal"),
  ("xfonts-terminus"),
  ("xinit"),
])

def test_packages(Package, name):
  assert Package(name).is_installed
