tests/test_editor: Remove test that checks that a PathLib object is returned
This commit is contained in:
parent
d6f079a0ae
commit
9949fc0981
2
PKGBUILD
2
PKGBUILD
@ -1,6 +1,6 @@
|
||||
# Maintainer: Eric Torres <erictorres4@protonmail.com>
|
||||
pkgname=file-scripts
|
||||
pkgver=0.9.1
|
||||
pkgver=0.9.2
|
||||
pkgrel=0
|
||||
pkgdesc="Various scripts for performing file-related operations such as editing and deleting."
|
||||
arch=(any)
|
||||
|
@ -4,7 +4,7 @@ class HelperScripts < Formula
|
||||
url "https://github.com/etorres4/file-scripts",
|
||||
:using => :git
|
||||
sha256 "7b6c3f363e3b34787765b5975d87f861a19eeda278612cbf8c5176e3e2732cd9"
|
||||
version "0.9"
|
||||
version "0.9.2"
|
||||
|
||||
# No build dependencies
|
||||
bottle :unneeded
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: file-scripts
|
||||
Version: 0.9.1
|
||||
Version: 0.9.2
|
||||
Release: 1
|
||||
Summary: Eric's helper scripts
|
||||
License: GPL-3.0-only
|
||||
|
2
setup.py
2
setup.py
@ -15,7 +15,7 @@ with open("README", "r") as fh:
|
||||
# ========== Package Setup ==========
|
||||
setuptools.setup(
|
||||
name="file_scripts",
|
||||
version="0.9",
|
||||
version="0.9.2",
|
||||
author="Eric Torres",
|
||||
author_email="erictorres4@protonmail.com",
|
||||
description="File-related helper scripts",
|
||||
|
@ -22,9 +22,6 @@ import file_scripts.editor as editor
|
||||
|
||||
|
||||
class TestSelectEditor(unittest.TestCase):
|
||||
def test_returns_path_object(self):
|
||||
self.assertIsInstance(editor.select_editor(), str)
|
||||
|
||||
def test_override(self):
|
||||
override = "doesnotexist"
|
||||
with self.assertRaises(FileNotFoundError):
|
||||
|
Loading…
x
Reference in New Issue
Block a user