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