Commit graph

209 commits

Author SHA1 Message Date
anastasia prasolova
dd19303442 --lifetime key and ACL fixes for Storage Groups
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-08-18 16:46:16 +03:00
anastasia prasolova
e09498bc4e tests duplications removed from acl_extended_filters testsuite
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-08-10 13:30:33 +03:00
anastasia prasolova
dd98eb3d9d [#271] fixed key for eacl filter test
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-08-04 15:01:16 +03:00
anastasia prasolova
bebbc42187 [#271] removed setup_teardown.robot imports from testcases
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-08-04 15:01:16 +03:00
anastasia prasolova
a0df145134 [#271] removed Setup and Teardown from CLI, Container, Network, Payment suites
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-08-04 15:01:16 +03:00
anastasia prasolova
9aa16ffc5b [#271] removed Setup and Teardown from Object suite
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-08-04 15:01:16 +03:00
anastasia prasolova
e7409a65a5 [#271] removed Setup and Teardown from ACL suite
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-08-04 15:01:16 +03:00
Elizaveta Chichindaeva
1ce470d3b1 Remove unnecessary args in Get Range
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-08-03 15:29:00 +03:00
Elizaveta Chichindaeva
da9b723498 [#246] Get pubkey
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-07-25 18:06:56 +03:00
anastasia prasolova
a5764da57b added pytest instructions into readme
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-07-22 13:33:25 +03:00
Elizaveta Chichindaeva
6394d9e362 [#191] EACL_KEY -> WALLET_ALLOW
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-07-19 15:34:26 +03:00
anastasia prasolova
dddffdc95a updated requirements.txt for venv.localtest
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-07-15 17:04:42 +03:00
Elizaveta Chichindaeva
708a4f51c5 [#245] Fix access tests for IR
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-07-14 14:44:44 +03:00
84230d12e3 Replace prepare_container*** fixtures with a function.
The change is motivated by variety of standard ACLs that will be hard to manage with set of fixtures.

Remove logic that initializes wallet from remote devenv host.
This setup action should be handled outside tests.

Add ability to establish SSH connection using SSH key instead of password.

Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-07-14 10:02:28 +03:00
anastasia prasolova
ffa40112a1 fixed miscellaneous errors
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-07-11 14:14:47 +03:00
2f774f5995 Fix library name after module renaming.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-07-11 14:04:16 +03:00
6e23e7d454 Simplify test checks and fixtures:
Remove default SSH key path.
Replace multiple fixtures for file generation with single function.
Rename references to keyword modules.
Update pytest test cases to be consistent with new keywords.
Remove gas balance checks from container operations.
Add logic to run initial gas transfer only if storage is not free.
Remove robot testsuites for s3 and http gateways.
S3 and http tests are covered and will be maintained in the future in pytest.

Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-07-08 17:45:32 +03:00
a.y.volkov
8acf738147 Remove dockerfile and removed docker run command from Makefile to keep testcases environment agnostic.
Add logic to retrieve mainnet wallet file from control node as WIF for this wallet is not available in config anymore.

Signed-off-by: a.y.volkov <a.y.volkov@yadro.com>
2022-07-08 17:45:32 +03:00
6b1e1ab28d Add pytest tests.
Change AWS cli v1 to cli v2.
Improve allure attachments.
Add tests for S3 API.

Signed-off-by: a.y.volkov <a.y.volkov@yadro.com>
2022-07-08 17:45:32 +03:00
anastasia prasolova
7abb2761c9 [#184] finally got rid of neofs.py
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-07-06 15:30:27 +03:00
anastasia prasolova
d396118085 renamed wallet creation function
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-07-05 19:21:02 +03:00
anastasia prasolova
34d282cf5a fixed [#233]; keywords from neofs-keywords moved to neofs-testcases
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-07-05 16:10:47 +03:00
anastasia prasolova
b1b86351df added yaml configuration file for devenv
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-06-30 18:11:39 +03:00
anastasia prasolova
82139e30a0 small fixes after [#237]
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-06-29 16:30:45 +03:00
Elizaveta Chichindaeva
3ffa4f4534 part of [#194] Get ScriptHash with address
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-06-28 15:06:12 +03:00
Elizaveta Chichindaeva
c8a5a63791 [#189] Remove wif from the output of Get Control Endpoint
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-06-28 14:57:31 +03:00
Pavel Karpy
ebc0737518 [#240] lib: Remove merging artifacts
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2022-06-16 16:48:44 +03:00
anastasia prasolova
a56734ed93 part of [#194]
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-06-14 00:03:53 +03:00
a.y.volkov
0e27ea02c1 Some linter fixes.
Signed-off-by: a.y.volkov <a.y.volkov@yadro.com>
2022-06-09 16:12:55 +03:00
anastasia prasolova
e086d0d62b [#184]: verbs joined to keywords
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-06-08 18:28:30 +03:00
anastasia prasolova
d696a8ee68 do not catch error in HEAD as we need it fails on empty response
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-06-02 16:07:24 +03:00
anastasia prasolova
e489b43d63 [#184]: session token keywords moved to separate repo; session token
tests slightly refactored

Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-06-01 14:56:50 +03:00
anastasia prasolova
3e31c527d2 robot/resources/lib/python -> robot/resources/lib/python_keywords
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-05-30 18:52:57 +03:00
anastasia prasolova
a97e1ee1e9 [#184]: keywords for nodes management out into separate library
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-05-27 18:06:09 +03:00
anastasia prasolova
e4c1c23ddd [#205] storage policy validation reconsidered
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-05-26 16:51:05 +03:00
Elizaveta Chichindaeva
8116ada7b6 [#195] Get rid off Prepare Container
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-05-24 19:36:26 +03:00
Elizaveta Chichindaeva
6de6af81c7 [#218] Object Size defined in int
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-05-24 16:53:48 +03:00
Elizaveta Chichindaeva
0799e15526 [#199] Add non-global Generate File for the rest
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-05-24 15:34:37 +03:00
Elizaveta Chichindaeva
057caa54b0 Add non-global Generate File in acl_extended_*
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-05-24 15:31:19 +03:00
anastasia prasolova
8cb8f1591a storage group tests restructured
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-05-20 19:36:19 +03:00
Elizaveta Chichindaeva
265301cf81 Add non-global Generate File in acl_bearer_*
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-05-20 12:54:19 +03:00
anastasia prasolova
d1595b78ca get rid of duplicated "create container" keywords for extended acl suites
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-05-20 00:11:03 +03:00
Elizaveta Chichindaeva
3ea4578683 Add non-global Generate File in acl_basic_*
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-05-19 17:11:27 +03:00
anastasia prasolova
2ea007164c deleted dangling container keyword
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-05-19 16:50:05 +03:00
anastasia prasolova
b75cfebf22 get rid of duplicated "create container" keywords for bearer acl suites
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-05-17 19:38:12 +03:00
anastasia prasolova
c56f79fee0 updated README.md
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-05-17 15:07:14 +03:00
anastasia prasolova
b8272a86d8 get rid of duplicated "create container" keywords for basic acl suites
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-05-17 15:06:56 +03:00
anastasia prasolova
d940fe9573 storage group operations moved from neofs.py; storage group tests
refactored

Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-05-16 14:20:31 +03:00
anastasia prasolova
48730d8f7a python3.8 -> python3.9 in venv.localtest
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-05-16 12:58:57 +03:00
Alex Vanin
72cdd28e66 [#201] Manaully install setuptools
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-05-06 12:56:57 +03:00