izzy lyseggen
6c7dc1eed9
tests: upload objects to each test stream
2021-04-22 09:54:23 +01:00
Alan Rynne
d07bab61e7
ci: Fixes with Izzy
2021-04-21 10:05:18 +02:00
Alan Rynne
3f7290ed12
ci: Reverting
2021-04-20 20:17:01 +02:00
Alan Rynne
ed92678a31
ci: Random test with "http"
2021-04-20 20:08:14 +02:00
Alan Rynne
4e26ebfbe2
ci: First coin-flip on Spinning up a Docker server for each test
2021-04-20 19:47:44 +02:00
izzy lyseggen
434ada8bc1
feat: rename speckle to specklepy
2021-04-09 12:25:32 +01:00
izzy lyseggen
501f9b8648
test: update host to use latest.speckle.dev
2021-03-22 15:03:22 +00:00
izzy lyseggen
883ec6e6ae
feat(operations): better (de)serialize functions
...
allow providing transports to the serialize / deserialize functions
to see detaching and chunking
2021-03-19 15:18:06 +00:00
izzy lyseggen
614eefc393
fix(serialisation): EMBARASSING BUG
...
so i'm a bit of a dumbo here.
i didn't realise that doing `.update()` on attr would update the parent
attr as well and extend to all objects every ahhhhhh
you have to do `self.thing = self.thing + blah blah` to just update
the instance attr. the more ya know!
#roastme @cristi8
2021-03-18 18:45:24 +00:00
izzy lyseggen
6e64770380
test(serializer): test detachment within lists
2021-03-17 17:38:05 +00:00
izzy lyseggen
5a66d912ae
test: update to use new geo objects
2021-02-26 16:56:49 +00:00
Gergő Jedlicska
6fe338628d
test(deserialization): undefined behavior of deserialization
...
Add failing test to uncover a possible bug in deserialization
2021-02-22 17:04:46 +01:00
Gergő Jedlicska
48883466fb
Merge branch 'main' of github.com:specklesystems/speckle-py into base_type_registration
2021-02-22 16:59:22 +01:00
izzy lyseggen
7703de0a37
test: unknown type deserialisation
2021-02-22 10:22:02 +00:00
Gergő Jedlicska
800b0018a0
style: ran formatter on codebase
2021-02-17 23:52:14 +01:00
Gergő Jedlicska
e6cf22e97a
feat(base.py): provide easy subclass type registration for (de)serialization
...
Implement automatic type register mechanism that stores all speckle Base model subclasses in a type
register for deserialization reuse in transports. This enables the Base to be useful as a base kit
object.
fix #50
2021-02-17 23:51:07 +01:00
Gergő Jedlicska
4933ca4abf
feat(base object): enforce unique speckle_type value
...
It was possible to override the builint types with a duplicate speckle_type, either via a duplicate
class name of an explicit speckle_type definition. It is now checked before registering the new type
in the subclass registry, and a meaningful error is thrown.
2021-02-13 14:46:54 +01:00
Gergő Jedlicska
00c1e378d5
feat(base model and deserialization): base model subclasses can now be automatically deserialized
...
Subclassing types of Base are stored in a class attribute that can be looked up via the
`speckle_type`.
fix #50
2021-02-13 10:19:12 +01:00
Gergő Jedlicska
7f2c26eb6b
refactor(test_base.py): refactor base object invalid prop tests
...
Utilizing a few pytest features to make invalid prop tests a bit sleeker
2021-02-11 22:04:20 +01:00
Gergő Jedlicska
5f35da3be9
style(black config): added explicit black config to pyproject.toml
2021-02-11 21:43:28 +01:00
izzy lyseggen
b6b25f824e
test(base): tests for prop validaton
2021-02-05 11:23:25 +00:00
izzy lyseggen
82f7ee6f0a
test(objects&serialisation): new base features
2021-01-26 10:04:00 +00:00
izzy lyseggen
6ab9252398
test(serialisation): both sqlite & server receive
2021-01-21 15:33:06 +00:00
izzy lyseggen
661c25c8fb
test: smol tidy
2021-01-21 15:24:02 +00:00
izzy lyseggen
94f47eeb17
test(user): user provile updates
2021-01-21 12:10:44 +00:00
izzy lyseggen
b6943bbe6f
test(server): api token create and revoke
2021-01-21 11:54:45 +00:00
izzy lyseggen
76da3cacfb
test(server): server get and apps
2021-01-21 11:32:46 +00:00
izzy lyseggen
739837bad2
test: reoder test execution
2021-01-21 11:07:27 +00:00
izzy lyseggen
0110b5b11a
test(user): get and search
2021-01-21 11:07:08 +00:00
izzy lyseggen
0d31337350
test(stream): grant and revoke permissions
2021-01-21 11:06:01 +00:00
izzy lyseggen
12eb88819e
test: add additional test user
2021-01-21 11:05:39 +00:00
izzy lyseggen
60bc4df16a
test(commit): list query
2021-01-21 09:42:48 +00:00
izzy lyseggen
d99c05761d
test(branch): update and delete queries
2021-01-21 09:38:59 +00:00
izzy lyseggen
64434cd7f5
test(branch): get and list queries
2021-01-21 09:16:11 +00:00
izzy lyseggen
ff44f4ecb1
test: oops forgot to switch to testing.speckle.dev
2021-01-19 17:20:22 +00:00
izzy lyseggen
0409f2c0f3
test(object): create and get
2021-01-19 15:57:08 +00:00
izzy lyseggen
12528205f5
test(branch): test create
2021-01-19 15:56:55 +00:00
izzy lyseggen
41e66dda0d
chore: requirements & formatting
2021-01-19 12:01:05 +00:00
izzy lyseggen
e14c42dfd1
test(serialisation): they work, yo 🥳
2021-01-19 11:04:34 +00:00
izzy lyseggen
062808c568
test: move fixtures to conf for sharing
2021-01-19 11:03:03 +00:00
izzy lyseggen
8b9f2db176
test: refactor into classes to use ordering
2021-01-19 11:02:11 +00:00
izzy lyseggen
5b458c630e
test(commits): cleanup
2021-01-19 09:30:18 +00:00
izzy lyseggen
25c4b35eb3
test(serialisation): basic and chunking
2021-01-19 09:30:18 +00:00
izzy lyseggen
21b1b2c30a
test(commits): scaffold tests
2021-01-19 09:30:18 +00:00
izzy lyseggen
1a063bbbf7
test(streams): small fixes
2021-01-19 09:30:18 +00:00
izzy lyseggen
beb550624e
test(streams): client stream operations
2021-01-19 09:30:18 +00:00
izzy lyseggen
50c6e2c840
test(config): set up tests with local server
2021-01-19 09:30:18 +00:00