/dports/www/py-django-extensions/django-extensions-3.0.5/tests/management/commands/ |
H A D | test_sqldsn.py | 82 self.assertEqual(expected_result, m_stdout.getvalue()) 91 self.assertEqual(expected_result, m_stdout.getvalue()) 102 self.assertEqual(expected_result, m_stdout.getvalue()) 113 self.assertEqual(expected_result, m_stdout.getvalue()) 124 self.assertEqual(expected_result, m_stdout.getvalue()) 168 self.assertIn(slave_mysql, m_stdout.getvalue()) 169 self.assertIn(test_sqlite3, m_stdout.getvalue()) 170 self.assertIn(unknown, m_stdout.getvalue()) 197 self.assertIn(slave_mysql, m_stdout.getvalue()) 198 self.assertIn(test_sqlite3, m_stdout.getvalue()) [all …]
|
H A D | test_show_urls.py | 57 lines = m_stdout.getvalue().splitlines() 63 def test_should_show_urls_sorted_alphabetically(self, m_stdout): argument 66 lines = m_stdout.getvalue().splitlines() 72 def test_should_show_urls_in_json_format(self, m_stdout): argument 75 self.assertJSONEqual(m_stdout.getvalue(), [ 80 self.assertEqual(len(m_stdout.getvalue().splitlines()), 1) 86 self.assertJSONEqual(m_stdout.getvalue(), [ 94 def test_should_show_urls_in_table_format(self, m_stdout): argument 102 def test_should_show_urls_in_aligned_format(self, m_stdout): argument 105 lines = m_stdout.getvalue().splitlines() [all …]
|
H A D | test_reset_db.py | 53 self.assertEqual("Reset cancelled.\n", m_stdout.getvalue()) 57 def test_should_unlink_database_and_print_success_message(self, m_unlink, m_stdout): argument 60 self.assertEqual("Reset successful.\n", m_stdout.getvalue()) 68 self.assertEqual("Reset successful.\n", m_stdout.getvalue()) 92 self.assertEqual("Reset cancelled.\n", m_stdout.getvalue()) 109 self.assertEqual("Reset successful.\n", m_stdout.getvalue()) 136 self.assertEqual("Reset successful.\n", m_stdout.getvalue()) 157 self.assertEqual("Reset cancelled.\n", m_stdout.getvalue()) 160 def test_should_drop_and_create_database_and_print_success_messsage(self, m_stdout): argument 175 self.assertEqual("Reset successful.\n", m_stdout.getvalue()) [all …]
|
H A D | test_drop_test_database.py | 54 self.assertEqual("Reset cancelled.\n", m_stdout.getvalue()) 65 def test_sqlite3_should_unlink_database(self, m_unlink, m_isfile, m_stdout): argument 70 self.assertIn("Reset successful.", m_stdout.getvalue()) 86 self.assertNotIn("Reset successful.", m_stdout.getvalue()) 99 def test_mysql_should_drop_datatabase_with_host_and_port(self, m_stdout): argument 110 self.assertIn("Reset successful.", m_stdout.getvalue()) 122 def test_mysql_should_drop_datatabase_with_unix_socket(self, m_stdout): argument 133 self.assertIn("Reset successful.", m_stdout.getvalue()) 146 def test_postgresql_should_drop_database(self, m_stdout): argument 156 self.assertIn("Reset successful.", m_stdout.getvalue()) [all …]
|
H A D | test_print_user_for_session.py | 28 def test_should_print_Session_Key_does_not_exist_or_expired(self, m_stdout): argument 31 self.assertIn('Session Key does not exist. Expired?', m_stdout.getvalue()) 34 def test_should_print_that_there_is_no_user_associated_with_given_session(self, m_stdout): argument 44 self.assertIn('No user associated with session', m_stdout.getvalue()) 47 def test_should_print_that_there_is_no_backend_associated_with_given_session(self, m_stdout): argument 57 self.assertIn('No authentication backend associated with session', m_stdout.getvalue()) 60 def test_should_print_that_there_is_no_user_associated_with_id(self, m_stdout): argument 71 self.assertIn('No user associated with that id.', m_stdout.getvalue()) 74 def test_should_print_user_info_for_session(self, m_stdout): argument 92 self.assertIn(expected_out, m_stdout.getvalue())
|
H A D | test_sqlcreate.py | 50 … def test_should_print_SQL_create_database_statement_for_mysql(self, m_socket, m_stdout, m_stderr): argument 61 self.assertEqual(expected_statement, m_stdout.getvalue()) 66 def test_should_print_SQL_create_database_statement_for_postgresql(self, m_stdout): argument 74 self.assertEqual(expected_statement, m_stdout.getvalue()) 78 def test_should_print_SQL_drop_and_create_database_statement_for_postgresql(self, m_stdout): argument 88 self.assertEqual(expected_statement, m_stdout.getvalue()) 108 …int_stderr_and_standard_create_database_statement_for_unsupported_engine(self, m_stdout, m_stderr): argument 117 self.assertEqual(expected_statement, m_stdout.getvalue())
|
H A D | test_unreferenced_files.py | 34 def test_should_not_print_any_output(self, m_stdout): argument 38 self.assertIs('', m_stdout.getvalue()) 41 def test_should_print_unreferenced_hello_txt_file(self, m_stdout): argument 48 self.assertIn(fn, m_stdout.getvalue()) 51 def test_should_not_print_referenced_image_jpg_file(self, m_stdout): argument 60 self.assertNotIn(fn, m_stdout.getvalue())
|
H A D | test_syncdata.py | 51 def test_should_print_No_fixtures_found_if_fixture_labels_not_provided(self, m_stdout): argument 54 self.assertEqual('No fixtures found.\n', m_stdout.getvalue()) 57 def test_should_print_No_fixtures_found_if_fixtures_not_found(self, m_stdout): argument 60 self.assertIn('No fixtures found.\n', m_stdout.getvalue()) 76 def test_should_delete_old_objects_and_load_data_from_json_fixture(self, m_stdout): argument 84 self.assertIn('Installed 1 object from 1 fixture', m_stdout.getvalue())
|
H A D | test_generate_secret_key.py | 22 def test_should_return_random_secret_key(self, m_stdout, m_get_random_secret): argument 27 self.assertIn('random_secret_key', m_stdout.getvalue()) 35 …def test_should_use_get_random_string_for_django_older_than_1_10(self, m_stdout, m_get_random_stri… argument 40 self.assertIn('random_secret_key', m_stdout.getvalue())
|
H A D | test_create_command.py | 51 def test_should_print_management_command_files_only_on_dry_run(self, m_stdout): # noqa argument 56 self.assertIn(filepath, m_stdout.getvalue()) 60 def test_should_create_management_command_files_and_print_filepaths(self, m_stdout): # noqa argument 65 self.assertIn(filepath, m_stdout.getvalue()) 69 def test_should_print_that_filepaths_already_exists(self, m_stdout): # noqa argument 76 self.assertIn('{} already exists'.format(filepath), m_stdout.getvalue())
|
H A D | test_create_jobs.py | 48 def test_should_create_jobs_directory_structure_and_print_SUCCESS_message(self, m_stdout): argument 55 m_stdout.getvalue()) 58 …ot_override_already_created_jobs_directory_structure_and_print_that_already_exists(self, m_stdout): argument 72 m_stdout.getvalue())
|
/dports/security/keepassxc/keepassxc-2.6.6/tests/ |
H A D | TestCli.cpp | 101 m_stdout.reset(new QBuffer()); in init() 158 m_stdout->readAll(); in execCmd() 162 auto outPos = m_stdout->pos(); in execCmd() 169 m_stdout->seek(outPos); in execCmd() 175 m_stdout->readLine(); in execCmd() 178 m_stdout->readLine(); in execCmd() 1059 QCOMPARE(m_stdout->readAll(), in testKeyFileOption() 1085 QCOMPARE(m_stdout->readAll(), in testNoPasswordOption() 1105 QCOMPARE(m_stdout->readAll(), in testList() 1118 QCOMPARE(m_stdout->readAll(), in testList() [all …]
|
/dports/x11/polybar/polybar-3.5.7/src/utils/ |
H A D | command.cpp | 108 if (pipe(m_stdout) != 0) { in command() 120 if (m_stdout[PIPE_READ] > 0) { in ~command() 121 close(m_stdout[PIPE_READ]); in ~command() 123 if (m_stdout[PIPE_WRITE] > 0) { in ~command() 124 close(m_stdout[PIPE_WRITE]); in ~command() 154 if ((m_stdout[PIPE_READ] = close(m_stdout[PIPE_READ])) == -1) { in exec() 157 if ((m_stdout[PIPE_WRITE] = close(m_stdout[PIPE_WRITE])) == -1) { in exec() 168 if ((m_stdout[PIPE_WRITE] = close(m_stdout[PIPE_WRITE])) == -1) { in exec() 189 io_util::tail(m_stdout[PIPE_READ], cb); in tail() 205 return io_util::readline(m_stdout[PIPE_READ]); in readline() [all …]
|
/dports/net/cloud-init/cloud-init-21.4/cloudinit/cmd/tests/ |
H A D | test_status.py | 123 self.assertEqual('status: not run\n', m_stdout.getvalue()) 152 self.assertEqual(expected, m_stdout.getvalue()) 168 self.assertEqual('status: running\n', m_stdout.getvalue()) 183 self.assertEqual('status: running\n', m_stdout.getvalue()) 206 self.assertEqual('status: done\n', m_stdout.getvalue()) 233 self.assertEqual(expected, m_stdout.getvalue()) 252 self.assertEqual('status: error\n', m_stdout.getvalue()) 282 self.assertEqual(expected, m_stdout.getvalue()) 305 self.assertEqual(expected, m_stdout.getvalue()) 340 self.assertEqual('....\nstatus: done\n', m_stdout.getvalue()) [all …]
|
H A D | test_cloud_id.py | 77 with mock.patch('sys.stdout', new_callable=StringIO) as m_stdout: 81 self.assertEqual("mycloud\n", m_stdout.getvalue()) 90 with mock.patch('sys.stdout', new_callable=StringIO) as m_stdout: 94 self.assertEqual("mycloud\tsomereg\n", m_stdout.getvalue()) 104 with mock.patch('sys.stdout', new_callable=StringIO) as m_stdout: 108 self.assertEqual("aws-china\tcn-north-1\n", m_stdout.getvalue()) 121 with mock.patch('sys.stdout', new_callable=StringIO) as m_stdout: 125 self.assertEqual(expected + '\n', m_stdout.getvalue())
|
/dports/sysutils/py-upt/upt-0.11/upt/tests/ |
H A D | test_log.py | 15 def test_quiet(self, m_stdout, m_stderr): argument 22 self.assertEqual(m_stdout.getvalue(), '') 27 def test_debug(self, m_stdout, m_stderr): argument 34 self.assertEqual(m_stdout.getvalue(), 'debug\ninfo\nwarning\n') 39 def test_set_formatter(self, m_stdout, m_stderr): argument 47 self.assertEqual(m_stdout.getvalue(), 57 def test_set_formatter_colored(self, m_stdout, m_stderr): argument 65 self.assertEqual(m_stdout.getvalue(),
|
/dports/math/py-pdal/PDAL-2.3.5/pdal/plang/ |
H A D | Redirector.cpp | 122 : m_stdout(NULL) in Redirector() 183 if (!m_stdout) in set_stdout() 187 m_stdout = StdoutType.tp_new(&StdoutType, 0, 0); in set_stdout() 190 Stdout* impl = reinterpret_cast<Stdout*>(m_stdout); in set_stdout() 193 PySys_SetObject(const_cast<char*>("stdout"), m_stdout); in set_stdout() 202 Py_XDECREF(m_stdout); in reset_stdout() 203 m_stdout = 0; in reset_stdout()
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/cmake/std/unittests/ |
H A D | TestPullRequestLinuxDriverMerge.py | 37 with mock.patch('sys.stdout', new_callable=StringIO) as m_stdout: 45 m_stdout.getvalue()) 85 with mock.patch('sys.stdout', new_callable=StringIO) as m_stdout, \ 91 self.assertEqual(expected_string, m_stdout.getvalue()) 201 mock.patch('sys.stdout', new_callable=StringIO) as m_stdout: 283 mock.patch('sys.stdout', new_callable=StringIO) as m_stdout: 317 m_stdout.getvalue()) 331 mock.patch('sys.stdout', new_callable=StringIO) as m_stdout: 342 m_stdout.getvalue()) 383 mock.patch('sys.stdout', new_callable=StringIO) as m_stdout, \ [all …]
|
/dports/misc/molequeue/molequeue-0.9.0/molequeue/app/queues/uit/ |
H A D | jobsubmissioninfo.cpp | 34 m_stdout(other.stdout()), m_stderr(other.stderr()) in JobSubmissionInfo() 44 m_stdout = other.stdout(); in operator =() 63 return m_stdout; in stdout() 114 m_stdout = out.trimmed(); in setContent()
|
/dports/www/py-django-extensions/django-extensions-3.0.5/tests/management/ |
H A D | test_email_notifications.py | 16 def test_should_print_that_no_email_recipients_available(self, m_stdout): argument 21 self.assertIn('No email recipients available', m_stdout.getvalue()) 43 def test_should_not_notify_if_notification_level_is_not_set(self, m_stdout): argument 46 self.assertIn("Exiting, not in 'notify always' mode", m_stdout.getvalue())
|
/dports/misc/py-molequeue/molequeue-0.9.0/molequeue/app/queues/uit/ |
H A D | jobsubmissioninfo.cpp | 34 m_stdout(other.stdout()), m_stderr(other.stderr()) in JobSubmissionInfo() 44 m_stdout = other.stdout(); in operator =() 63 return m_stdout; in stdout() 114 m_stdout = out.trimmed(); in setContent()
|
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/plugins/boot2qt/ |
H A D | qdbdevice.cpp | 101 void handleStdout(const QString &data) { m_stdout += data; } in handleStdout() 107 if (success && (m_stdout.contains("fail") || m_stdout.contains("error") in handleFinished() 108 || m_stdout.contains("not found"))) { in handleFinished() 121 if (!m_stdout.isEmpty()) in handleFinished() 122 showMessage(QdbDevice::tr("stdout was: \"%1\"").arg(m_stdout)); in handleFinished() 132 QString m_stdout; member in Qdb::Internal::DeviceApplicationObserver
|
/dports/editors/kate/kate-21.12.3/addons/gdbplugin/ |
H A D | ioview.cpp | 64 m_stdout.close(); in ~IOView() 65 m_stdout.setFileName(m_stdoutFifo); in ~IOView() 73 m_stdout.remove(); in ~IOView() 91 m_stdout.setFileName(m_stdoutFifo); in createFifos() 96 if (!m_stdout.open(m_stdoutFD, QIODevice::ReadWrite)) { in createFifos() 139 res = m_stdout.read(chData, 255); in readOutput()
|
/dports/textproc/libkomparediff2/libkomparediff2-21.12.3/src/ |
H A D | kompareprocess.h | 31 QString diffOutput() { return m_stdout; } in diffOutput() 32 QString stdOut() { return m_stdout; } in stdOut() 51 QString m_stdout; variable
|
/dports/audio/sonic-visualiser/sonic-visualiser-4.0.1/svcore/transform/ |
H A D | FileFeatureWriter.cpp | 39 m_stdout(false), in FileFeatureWriter() 158 m_stdout = true; in setParameters() 182 if (m_stdout) { in createOutputFilename() 240 if (m_stdout || m_singleFileName != "") return; in testOutputFile() 322 if (!file && !m_stdout) { in getOutputStream() 327 if (m_stdout) { in getOutputStream() 360 if (m_singleFileName != "" || m_stdout) return; in finish()
|