Home
last modified time | relevance | path

Searched refs:assert_in (Results 1 – 25 of 125) sorted by relevance

12345

/dports/devel/pycharm-pro/pycharm-2020.2.3/plugins/python/helpers/pydev/pydev_tests/
H A Dtest_simpleTipper.py31 ret = self.assert_in('path', tip)
45 self.assert_in('now', tip)
51 s = self.assert_in('sort', tip)
63 self.assert_in('__doc__', tips)
72 t = self.assert_in('file' , tips)
118 self.assert_in('list' , tip)
129 t = self.assert_in('compile' , tip)
132 t = self.assert_in('setattr' , tip)
171 def assert_in(self, tok, tips): member in TestCPython
187 self.assert_in('Brushes' , tip)
[all …]
H A Dtest_jysimpleTipper.py41 def assert_in(self, tok, tips): member in TestMod
76 ret = self.assert_in('TestCase', tip)
82 ret = self.assert_in('Task', tip)
88 ret = self.assert_in('path', tip)
93 self.assert_in('join', tip)
94 self.assert_in('uppercase', tip)
105 tup = self.assert_in('String' , tip)
109 tup = self.assert_in('lang' , tip)
126 tup = self.assert_in('getBytes', tip)
133 self.assert_in('find' , tip)
[all …]
/dports/devel/ipython5/ipython-5.10.0/IPython/core/tests/
H A Dtest_completer.py336 nt.assert_in('d.x', matches)
358 nt.assert_in('b=', matches)
361 nt.assert_in('b=', matches)
363 nt.assert_in('b=', matches)
475 nt.assert_in("abc", matches)
479 nt.assert_in("abc", matches)
484 nt.assert_in("abc", matches)
525 nt.assert_in("b", matches)
533 nt.assert_in("b", matches)
794 nt.assert_in('io', matches)
[all …]
H A Dtest_formatters.py128 nt.assert_in(C, f.type_printers)
161 nt.assert_in(C, f.type_printers)
187 nt.assert_in(C, f.type_printers)
193 nt.assert_in(C, f)
194 nt.assert_in(type_str, f)
200 nt.assert_in(type_str, f)
201 nt.assert_in(C, f)
251 nt.assert_in("Bad HTML", captured.stdout)
287 nt.assert_in("given", captured.stdout)
288 nt.assert_in("argument", captured.stdout)
[all …]
H A Dtest_magic.py157 nt.assert_in('foo', opts)
158 nt.assert_in('bar', opts)
311 nt.assert_in('%magic', stdout)
312 nt.assert_in('IPython', stdout)
321 nt.assert_in('a', _ip.user_ns)
767 nt.assert_in('line1\n', s)
768 nt.assert_in('line2', s)
782 nt.assert_in('line1\n', s)
783 nt.assert_in('line2', s)
797 nt.assert_in(u'liné2', s)
[all …]
H A Dtest_display.py109 nt.assert_in(Figure, f)
171 nt.assert_in('0/10',repr(p))
180 nt.assert_in('{0}/5'.format(i), out)
182 nt.assert_in('5/5', out)
211 nt.assert_in('src="http://ignored"', html)
227 nt.assert_in('src="data:video/mp4;base64,YWJj"',html)
231 nt.assert_in('src="data:video/other;base64,YWJj"',html)
235 nt.assert_in('src="data:video/mp4;base64,YWJj"',html)
239 nt.assert_in('src="data:video/xyz;base64,YWJj"',html)
H A Dtest_pylabtools.py42 nt.assert_in(u'doctype svg', svg)
80 nt.assert_in('width', md)
81 nt.assert_in('height', md)
97 nt.assert_in(Figure, f)
131 nt.assert_in(Figure, f)
234 nt.assert_in(Figure, f)
/dports/devel/grex/grex-1.3.0/cargo-crates/rstest-0.11.0/tests/rstest/
H A Dmod.rs109 assert_in!( in should_reject_no_item_function()
124 assert_in!( in should_reject_no_item_function()
139 assert_in!( in should_reject_no_item_function()
206 assert_in!( in should_not_compile_if_not_implement_debug()
219 assert_in!( in should_not_compile_if_not_implement_debug()
232 assert_in!( in should_not_compile_if_not_implement_debug()
915 assert_in!( in if_no_fixture()
932 assert_in!( in if_inject_wrong_fixture()
952 assert_in!( in if_wrong_type()
971 assert_in!( in if_wrong_type_fixture()
[all …]
/dports/www/miniserve/miniserve-0.18.0/cargo-crates/rstest-0.11.0/tests/rstest/
H A Dmod.rs109 assert_in!( in should_reject_no_item_function()
124 assert_in!( in should_reject_no_item_function()
139 assert_in!( in should_reject_no_item_function()
206 assert_in!( in should_not_compile_if_not_implement_debug()
219 assert_in!( in should_not_compile_if_not_implement_debug()
232 assert_in!( in should_not_compile_if_not_implement_debug()
915 assert_in!( in if_no_fixture()
932 assert_in!( in if_inject_wrong_fixture()
952 assert_in!( in if_wrong_type()
971 assert_in!( in if_wrong_type_fixture()
[all …]
/dports/devel/p5-Carp-Assert-More/Carp-Assert-More-2.0.1/t/
H A Dassert_in.t15 assert_in('one', [ 'one' ] );
22 assert_in( $string, [ 'A', 'B' ] );
30 assert_in( $string, \@array );
38 assert_in( $string, $ref );
50 assert_in( 'C', [ 'A', 'B', 'C', undef ] );
56 assert_in( undef, [ 'A', 'B', 'C', undef ] );
62 assert_in( 'C', [ 'A', 'B', 'C', {} ] );
68 assert_in( undef, [ 'fail' ] );
74 assert_in( 'empty', [ ] );
81 assert_in( $string, undef );
[all …]
/dports/devel/ipython/ipython-7.29.0/IPython/core/tests/
H A Dtest_completer.py573 nt.assert_in("d.x", matches)
595 nt.assert_in("b=", matches)
598 nt.assert_in("b=", matches)
600 nt.assert_in("b=", matches)
796 nt.assert_in("abc", matches)
800 nt.assert_in("abc", matches)
805 nt.assert_in("abc", matches)
851 nt.assert_in("b", matches)
859 nt.assert_in("b", matches)
1057 nt.assert_in("io", matches)
[all …]
H A Dtest_formatters.py128 nt.assert_in(C, f.type_printers)
161 nt.assert_in(C, f.type_printers)
187 nt.assert_in(C, f.type_printers)
193 nt.assert_in(C, f)
194 nt.assert_in(type_str, f)
200 nt.assert_in(type_str, f)
201 nt.assert_in(C, f)
251 nt.assert_in("Bad HTML", captured.stdout)
287 nt.assert_in("given", captured.stdout)
288 nt.assert_in("argument", captured.stdout)
[all …]
H A Dtest_magic.py173 nt.assert_in('foo', opts)
174 nt.assert_in('bar', opts)
325 nt.assert_in('%magic', stdout)
326 nt.assert_in('IPython', stdout)
335 nt.assert_in('a', _ip.user_ns)
860 nt.assert_in('line2', s)
875 nt.assert_in('line2', s)
890 nt.assert_in('line2', s)
905 nt.assert_in('line2', s)
919 nt.assert_in(u'liné2', s)
[all …]
H A Dtest_pylabtools.py43 nt.assert_in(u'doctype svg', svg)
81 nt.assert_in('width', md)
82 nt.assert_in('height', md)
98 nt.assert_in(Figure, f)
137 nt.assert_in(Figure, f)
242 nt.assert_in(Figure, f)
/dports/archivers/py-borgbackup/borgbackup-1.1.17/src/borg/testsuite/
H A Dplatform.py95 self.assert_in(b'user:root:rw-:0', self.get_acl(file.name)['acl_access'])
96 self.assert_in(b'group:root:rw-:0', self.get_acl(file.name)['acl_access'])
100 self.assert_in(b'user:9999:rw-:9999', self.get_acl(file2.name)['acl_access'])
127 self.assert_in(user_entry, acl_access)
128 self.assert_in(group_entry, acl_access)
130 self.assert_in(user_entry_numeric, acl_access_numeric)
131 self.assert_in(group_entry_numeric, acl_access_numeric)
135 self.assert_in(user_entry, acl_access)
136 self.assert_in(group_entry, acl_access)
138 self.assert_in(user_entry_numeric, acl_access_numeric)
[all …]
H A Darchiver.py1831 self.assert_in("\r", output)
1949 self.assert_in('file1', output)
1957 self.assert_in('file1', output)
1990 self.assert_in('test1', output)
1991 self.assert_in('test2', output)
1999 self.assert_in('test2', output)
2011 self.assert_in('test5', output)
2021 self.assert_in('test1', output)
2022 self.assert_in('test2', output)
2026 self.assert_in('test2', output)
[all …]
/dports/devel/grex/grex-1.3.0/cargo-crates/rstest-0.11.0/tests/fixture/
H A Dmod.rs6 use rstest_test::{assert_in, assert_not_in, Project, Stringable, TestResults};
191 assert_in!(output.stdout.str(), "Cannot parse 'error' to get MyType"); in convert_literal_string_for_default_values()
207 assert_in!(output.stderr.str(), "error[E0433]: "); in show_correct_errors()
208 assert_in!( in show_correct_errors()
220 assert_in!( in show_correct_errors()
234 assert_in!( in show_correct_errors()
250 assert_in!( in show_correct_errors()
265 assert_in!( in show_correct_errors()
/dports/www/miniserve/miniserve-0.18.0/cargo-crates/rstest-0.11.0/tests/fixture/
H A Dmod.rs6 use rstest_test::{assert_in, assert_not_in, Project, Stringable, TestResults};
191 assert_in!(output.stdout.str(), "Cannot parse 'error' to get MyType"); in convert_literal_string_for_default_values()
207 assert_in!(output.stderr.str(), "error[E0433]: "); in show_correct_errors()
208 assert_in!( in show_correct_errors()
220 assert_in!( in show_correct_errors()
234 assert_in!( in show_correct_errors()
250 assert_in!( in show_correct_errors()
265 assert_in!( in show_correct_errors()
/dports/security/py-pyvex/pyvex-9.0.5405/tests/
H A Dtest_s390x_vl.py15 nose.tools.assert_in('GET:I64(r9)', irsb_str)
16 nose.tools.assert_in('Add64(0x00000000000000a8', irsb_str)
17 nose.tools.assert_in('LDbe:V128', irsb_str)
18 nose.tools.assert_in('PUT(v4) =', irsb_str)
H A Dtest_s390x_exrl.py18 nose.tools.assert_in('0xd700200030000000', irsb_str)
19 nose.tools.assert_in('s390x_dirtyhelper_EX', irsb_str)
20 nose.tools.assert_in('{ PUT(ia) = 0x400400; Ijk_Boring }', irsb_str)
21 nose.tools.assert_in('------ IMark(0x400406, 2, 0) ------', irsb_str)
/dports/security/py-angr/angr-9.0.5405/tests/
H A Dtest_bindiff.py22 nose.tools.assert_in((0x40064c, 0x40066a), identical_functions)
24 nose.tools.assert_in((0x400616, 0x400616), differing_functions)
35 nose.tools.assert_in((0x40064a, 0x400668), block_matches)
36 nose.tools.assert_in((0x400616, 0x400616), block_matches)
37 nose.tools.assert_in((0x40061e, 0x40061e), block_matches)
H A Dtest_cfgfast.py614 nose.tools.assert_in('plt_puts', function_names)
615 nose.tools.assert_in('plt_read', function_names)
618 nose.tools.assert_in('puts', function_names)
619 nose.tools.assert_in('read', function_names)
621 nose.tools.assert_in('exit', function_names)
777 nose.tools.assert_in(0x4008d0, memory_data)
799 nose.tools.assert_in(0x400c00, memory_data)
804 nose.tools.assert_in(0x400c0c, memory_data)
809 nose.tools.assert_in(0x400c38, memory_data)
814 nose.tools.assert_in(0x400c44, memory_data)
[all …]
H A Dtest_codetagging.py19 nose.tools.assert_in(CodeTags.HAS_XOR, ct_jshash.tags)
20 nose.tools.assert_in(CodeTags.HAS_BITSHIFTS, ct_jshash.tags)
22 nose.tools.assert_in(CodeTags.HAS_BITSHIFTS, ct_elfhash.tags)
/dports/security/py-stem/stem-1.8.0/test/integ/
H A Dprocess.py31 from stem.util.test_tools import asynchronous, assert_equal, assert_in, skip
159 assert_in("[warn] Command-line option '--invalid_argument' with no value. Failing.", output)
162assert_in("[warn] Failed to parse/validate config: Unknown option 'invalid_argument'. Failing.", …
201 assert_in("[warn] Command-line option '--hash-password' with no value. Failing.", output)
214 assert_in('Nickname stemIntegTest', short_output)
215 assert_in('Nickname stemIntegTest', non_builtin_output)
216 assert_in('Nickname stemIntegTest', full_output)
225 assert_in('Configuration was valid\n', valid_output, 'Expected configuration to be valid')
237assert_in("Clients don't have long-term identity keys. Exiting.", output, 'Should fail to start du…
347assert_in('[warn] Unable to open configuration file "/path/that/really/shouldnt/exist".', output, …
[all …]
/dports/devel/py-tabulate/tabulate-0.8.6/test/
H A Dtest_input.py8 from common import assert_equal, assert_in, assert_raises, SkipTest
105 assert_in(result, [expected1, expected2])
389 assert_in(result, [expected1, expected2])
402 assert_in(result, [expected1, expected2])
432 assert_in(result, [expected1, expected2])
446 assert_in(result, [expected1, expected2])

12345