hykilpikonna / hyfetch

🏳️‍🌈 🏳️‍⚧️ Neofetch with LGBTQ+ pride flags!
MIT License
1.27k stars 96 forks source link

`hyfetch/distros/cachy_os.py` still imports `hyfetch.distro` #92

Closed rakino closed 1 year ago

rakino commented 1 year ago

Description

If you're suggesting a new feature then just a description will suffice.

python3 setup.py test output:

running test
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
running egg_info
writing HyFetch.egg-info/PKG-INFO
writing dependency_links to HyFetch.egg-info/dependency_links.txt
writing entry points to HyFetch.egg-info/entry_points.txt
writing requirements to HyFetch.egg-info/requires.txt
writing top-level names to HyFetch.egg-info/top_level.txt
reading manifest file 'HyFetch.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.md'
writing manifest file 'HyFetch.egg-info/SOURCES.txt'
running build_ext
cachy_os (unittest.loader._FailedTest) ... ERROR

======================================================================
ERROR: cachy_os (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: cachy_os
Traceback (most recent call last):
  File "/gnu/store/snsyfmz48r2hqfi2bfwcas952ajf1js7-profile/lib/python3.9/unittest/loader.py", line 154, in loadTestsFromName
    module = __import__(module_name)
  File "/home/hako/Repository/hyfetch/hyfetch/distros/cachy_os.py", line 2, in <module>
    from hyfetch.distro import AsciiArt
ModuleNotFoundError: No module named 'hyfetch.distro'

----------------------------------------------------------------------
Ran 1 test in 0.001s

FAILED (errors=1)
Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
hykilpikonna commented 1 year ago

Oops. This is an old file that's generated from the last version and not re-generated because the distro is renamed in the neofetch script.