-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use new handy PackageProvider to scaffold this package (#77)
* update provider to use new feature * update tests * update readme * remove old install command * update makefile * update install section in doc
- Loading branch information
1 parent
a396a08
commit 9ea0a16
Showing
10 changed files
with
30 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
import os | ||
|
||
from masonite.tests import TestCase | ||
|
||
|
||
class TestCommands(TestCase): | ||
def test_install(self): | ||
def test_publish_config(self): | ||
( | ||
self.craft("install:inertia") | ||
self.craft("package:publish", "inertia") | ||
.assertSuccess() | ||
.assertOutputContains("Configuration File Created!") | ||
.assertOutputContains("Config") | ||
.assertOutputContains("tests/integrations/config/inertia.py") | ||
) | ||
assert os.path.isfile("tests/integrations/config/inertia.py") | ||
os.remove("tests/integrations/config/inertia.py") |