Skip to content

Commit 896c259

Browse files
authored
Merge pull request #1746 from dbcli/RW/move-screenshots-to-doc-dir
Move screenshots directory to docs directory
2 parents 1343081 + e8186ee commit 896c259

7 files changed

Lines changed: 11 additions & 10 deletions

File tree

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include LICENSE.txt *.md *.rst screenshots/*
1+
include LICENSE.txt *.md *.rst doc/screenshots/*
22
recursive-include test *.cnf
33
recursive-include test *.feature
44
recursive-include test *.py

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ A command line client for MySQL that can do auto-completion and syntax highlight
77
Homepage: [https://mycli.net](https://mycli.net)
88
Documentation: [https://mycli.net/docs](https://mycli.net/docs)
99

10-
![Completion](screenshots/tables.png)
11-
![CompletionGif](screenshots/main.gif)
10+
![Completion](doc/screenshots/tables.png)
11+
![CompletionGif](doc/screenshots/main.gif)
1212

1313
Postgres Equivalent: [https://pgcli.com](https://pgcli.com)
1414

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Internal
1818
* Collect CLI arguments into a dataclass.
1919
* Clean up generated files after test runs.
2020
* Migrate toplevel tool configurations to `pyproject.toml`.
21+
* Migrate other toplevel files to subdirectories.
2122
* Gather `pytest` files into a subdirectory, separated from `behave` tests.
2223
* Refactor: better naming for `prompt_toolkit` utilities.
2324

test/pytests/test_smart_completion_public_schema_only.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -682,9 +682,9 @@ def test_create_table_like_completion(completer, complete_event):
682682

683683

684684
def test_source_eager_completion(completer, complete_event):
685-
text = "source sc"
685+
text = "source do"
686686
position = len(text)
687-
script_filename = 'script_for_test_suite.sql'
687+
script_filename = 'do_these_statements.sql'
688688
f = open(script_filename, 'w')
689689
f.close()
690690
special.register_special_command(..., 'source', '\\. <filename>', 'Execute commands from file.', aliases=['\\.'])
@@ -694,7 +694,7 @@ def test_source_eager_completion(completer, complete_event):
694694
try:
695695
assert [x.text for x in result] == [
696696
script_filename,
697-
'screenshots/',
697+
'doc/',
698698
]
699699
except AssertionError as e:
700700
success = False
@@ -706,9 +706,9 @@ def test_source_eager_completion(completer, complete_event):
706706

707707

708708
def test_source_leading_dot_suggestions_completion(completer, complete_event):
709-
text = "source ./sc"
709+
text = "source ./do"
710710
position = len(text)
711-
script_filename = 'script_for_test_suite.sql'
711+
script_filename = 'do_these_statements.sql'
712712
f = open(script_filename, 'w')
713713
f.close()
714714
special.register_special_command(..., 'source', '\\. <filename>', 'Execute commands from file.', aliases=['\\.'])
@@ -718,7 +718,7 @@ def test_source_leading_dot_suggestions_completion(completer, complete_event):
718718
try:
719719
assert [x.text for x in result] == [
720720
script_filename,
721-
'screenshots/',
721+
'doc/',
722722
]
723723
except AssertionError as e:
724724
success = False

test/pytests/test_sqlexecute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ def test_cd_command_with_one_nonexistent_folder_name(executor):
288288

289289
@dbtest
290290
def test_cd_command_with_one_real_folder_name(executor):
291-
results = run(executor, 'system cd screenshots')
291+
results = run(executor, 'system cd doc')
292292
# todo would be better to capture stderr but there was a problem with capsys
293293
assert results[0]['status_plain'] is None
294294

0 commit comments

Comments
 (0)