2022-03-17 23:04:05 -07:00
|
|
|
import packaging_scripts.pacman as pacman
|
2022-03-17 21:15:33 -07:00
|
|
|
import re
|
|
|
|
import unittest
|
|
|
|
|
|
|
|
from hypothesis import given
|
|
|
|
from hypothesis.strategies import iterables, text
|
|
|
|
from pathlib import Path
|
|
|
|
from types import GeneratorType
|
|
|
|
from unittest.mock import MagicMock, patch
|
|
|
|
|
|
|
|
|
|
|
|
# ========== Constants ==========
|
2022-03-17 23:04:05 -07:00
|
|
|
TESTING_MODULE = f"packaging_scripts.pacman"
|
2022-03-17 21:15:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
# ========== Unit Tests ==========
|
|
|
|
# class TestParseConfigFile(unittest.TestCase):
|
|
|
|
# def setUp(self):
|
|
|
|
# self.pat
|
|
|
|
#
|
|
|
|
# def tearDown(self):
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# class TestListConfiguredRepos(unittest.TestCase):
|
|
|
|
# def setUp(self):
|
|
|
|
#
|
|
|
|
# def test_removes_one_element(self):
|